The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Yeelight\Events\User\UserLoggedInEvent: $id, $class, $connection
Loading history...
24
25
public $user;
26
27
/**
28
* Create a new event instance.
29
*
30
* @param User $user User
31
*/
32
public function __construct(User $user)
33
{
34
$this->user = $user;
35
}
36
37
/**
38
* Get the channels the event should be broadcast on.