| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class UserLoggedInEvent |
||
| 22 | { |
||
| 23 | use SerializesModels; |
||
|
|
|||
| 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) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the channels the event should be broadcast on. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function broadcastOn() |
||
| 47 |