| 1 | <?php |
||
| 13 | class DeviceUpdated implements ShouldBroadcast |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
| 16 | |||
| 17 | public $device; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new event instance. |
||
| 21 | * |
||
| 22 | * @param Device $device |
||
| 23 | */ |
||
| 24 | public function __construct(Device $device) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the channels the event should broadcast on. |
||
| 31 | * |
||
| 32 | * @return Channel|array |
||
| 33 | */ |
||
| 34 | public function broadcastOn() |
||
| 38 | } |
||
| 39 |