for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Events\Customers;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use App\Models\Customer;
class CustomerDeactivatedEvent
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
Illuminate\Queue\SerializesModels
App\Events\Customers\CustomerDeactivatedEvent
$id
$relations
$class
$connection
$keyBy
public $custData;
/**
* Create a new event instance
*/
public function __construct(Customer $cust)
$this->custData = $cust;
}