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