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