Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
21 | class Job implements ShouldQueue |
||
22 | { |
||
23 | use Dispatchable; |
||
24 | use InteractsWithQueue; |
||
25 | use Queueable; |
||
26 | use SerializesModels; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | public $args; |
||
32 | |||
33 | /** |
||
34 | * Write constructor. |
||
35 | * |
||
36 | * @param array $args |
||
37 | */ |
||
38 | public function __construct(array $args = []) |
||
39 | { |
||
40 | if (count($args)) { |
||
41 | $this->args = $args; |
||
42 | } |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | public function tags(): array |
||
51 | } |
||
52 | } |
||
53 |