Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class StartModerationDetection implements ShouldQueue |
||
13 | { |
||
14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|||
15 | |||
16 | private string $path; |
||
17 | |||
18 | private ?int $mediaId; |
||
19 | |||
20 | private ?int $minConfidence; |
||
21 | |||
22 | /** |
||
23 | * Create a new job instance. |
||
24 | * |
||
25 | * @param string $path |
||
26 | * @param int|null $mediaId |
||
27 | * @param int|null $minConfidence |
||
28 | */ |
||
29 | public function __construct(string $path, $mediaId = null, $minConfidence = null) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Execute the job. |
||
38 | * |
||
39 | * @return void |
||
40 | * @throws \Exception |
||
41 | */ |
||
42 | public function handle() |
||
47 |