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