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