1 | <?php |
||
11 | use Illuminate\Queue\SerializesModels; |
||
12 | |||
13 | final class S3Upload implements ShouldQueue |
||
14 | { |
||
15 | use Dispatchable, |
||
16 | InteractsWithQueue, |
||
17 | Queueable, |
||
18 | SerializesModels, |
||
19 | SavesToAmazonS3; |
||
20 | /** |
||
21 | * @var Testimony |
||
22 | */ |
||
23 | private Testimony $testimony; |
||
|
|||
24 | |||
25 | public bool $deleteWhenMissingModels = true; |
||
26 | |||
27 | /** |
||
28 | * Create a new job instance. |
||
29 | * |
||
30 | * @param Testimony $testimony |
||
31 | */ |
||
32 | public function __construct(Testimony $testimony) |
||
33 | { |
||
34 | $this->testimony = $testimony; |
||
35 | } |
||
47 |