| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class addUser implements ShouldBroadcast |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
| 16 | public $user; |
||
| 17 | /** |
||
| 18 | * Create a new event instance. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function __construct($username) |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the channels the event should broadcast on. |
||
| 32 | * |
||
| 33 | * @return \Illuminate\Broadcasting\Channel|array |
||
| 34 | */ |
||
| 35 | public function broadcastOn() |
||
| 40 |