| 1 | <?php |
||
| 13 | class ImageProcessingJob implements ShouldQueue |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | private $data; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ImageConfiguration |
||
| 24 | */ |
||
| 25 | private $config; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Create a new job instance. |
||
| 29 | * |
||
| 30 | * @param array $data |
||
| 31 | * @param ImageConfiguration $config |
||
| 32 | */ |
||
| 33 | public function __construct(array $data, ImageConfiguration $config) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Execute the job. |
||
| 41 | * |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function handle() |
||
| 48 | } |
||
| 49 |