Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class StartVideoLabelDetection implements ShouldQueue |
||
13 | { |
||
14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|||
15 | |||
16 | private ?int $mediaId; |
||
17 | |||
18 | private ?int $minConfidence; |
||
19 | |||
20 | private int $maxResults; |
||
21 | |||
22 | /** |
||
23 | * Create a new job instance. |
||
24 | * |
||
25 | * @param int|null $mediaId |
||
26 | * @param int|null $minConfidence |
||
27 | * @param int $maxResults |
||
28 | */ |
||
29 | public function __construct($mediaId = null, $minConfidence = null, $maxResults = 1000) |
||
30 | { |
||
31 | $this->mediaId = $mediaId; |
||
32 | $this->minConfidence = $minConfidence; |
||
33 | $this->maxResults = $maxResults; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Execute the job. |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | public function handle() |
||
44 | } |
||
45 | } |
||
46 |