Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class FileScan |
||
14 | { |
||
15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|||
16 | |||
17 | public array $scanData; |
||
18 | |||
19 | /** |
||
20 | * Create a new event instance. |
||
21 | * |
||
22 | * @param array $scanData |
||
23 | */ |
||
24 | public function __construct(array $scanData) |
||
25 | { |
||
26 | $this->scanData = $scanData; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Get the channels the event should broadcast on. |
||
31 | * |
||
32 | * @return array<int, \Illuminate\Broadcasting\Channel> |
||
33 | */ |
||
34 | public function broadcastOn(): array |
||
38 | ]; |
||
39 | } |
||
41 |