The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Innoflash\Events\Jobs\Saved\UploadImage: $id, $relations, $class, $keyBy
Loading history...
17
InteractsWithQueue,
18
Queueable,
19
SerializesModels,
20
UploadsImages;
21
22
public bool $deleteWhenMissingModels = true;
23
protected Event $event;
24
25
protected string $image;
26
27
/**
28
* Create a new job instance.
29
*
30
* @param Event $event
31
* @param string $image
32
*/
33
public function __construct(Event $event, string $image)
34
{
35
$this->event = $event;
36
$this->image = $image;
37
}
38
39
/**
40
* Execute the job.
41
*
42
* @param ImageManager $imageManager
43
*
44
* @return void
45
*/
46
public function handle(ImageManager $imageManager)