| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | 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 Image $image; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Create a new job instance. |
||
| 26 | * |
||
| 27 | * @param Image $image |
||
| 28 | */ |
||
| 29 | public function __construct(Image $image) |
||
| 30 | { |
||
| 31 | $this->image = $image; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Execute the job. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function handle() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |