Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ProcessImage implements ShouldQueue |
||
15 | { |
||
16 | use Dispatchable, |
||
17 | InteractsWithQueue, |
||
18 | Queueable, |
||
19 | SerializesModels, |
||
20 | ProcessesImages; |
||
21 | |||
22 | public bool $deleteWhenMissingModels = true; |
||
23 | /** |
||
24 | * @var User |
||
25 | */ |
||
26 | private User $user; |
||
27 | |||
28 | /** |
||
29 | * Create a new job instance. |
||
30 | * |
||
31 | * @param User $user |
||
32 | */ |
||
33 | public function __construct(User $user) |
||
34 | { |
||
35 | $this->user = $user; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Execute the job. |
||
40 | * |
||
41 | * @param ImageManager $imageManager |
||
42 | * |
||
43 | * @return void |
||
44 | */ |
||
45 | public function handle(ImageManager $imageManager) |
||
48 | } |
||
49 | } |
||
50 |