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