class ProcessNewImages extendsJob implementsShouldQueue

Traits

InteractsWithQueue
SerializesModels
Queueable
Dispatchable

Properties

protectedVolume $volume The volume for which the images should be processed.
protectedarray $only Array of image IDs to restrict processing to.
protectedbool $deleteWhenMissingModels Ignore this job if the volume does not exist any more.

Methods

void
__construct(Volume$volume,array$only =[])

Create a new job instance.

void
handle()

Execute the job.

Details

at line45
void __construct(Volume$volume,array$only =[])

Create a new job instance.

Parameters

Volume $volume The volume for which the images should be processed.
array $only (optional) Array of image IDs to restrict processing to. If it is empty, all images of the volume will be taken.

Return Value

void

at line56
void handle()

Execute the job.

Return Value

void