File "VendorLogPaymentListen.php"
Full Path: /home/bettaeza/flyinsyria.com/Booking/Listeners/VendorLogPaymentListen.php
File size: 444 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Modules\Booking\Listeners;
use App\User;
use Modules\Booking\Events\VendorLogPayment;
class VendorLogPaymentListen
{
public function __construct()
{
}
public function handle(VendorLogPayment $event)
{
$booking = $event->booking;
$vendor = User::find($booking->vendor_id);
if(!empty($vendor)){
$plan = $vendor->vendorPlanData;
}
}
}