class ProcessNewImages extends Job implements ShouldQueue

Traits

InteractsWithQueue
SerializesModels
Queueable
Dispatchable

Properties

protected Volume $volume The volume for which the images should be processed.
protected array $only Array of image IDs to restrict processing to.
protected bool $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 line 45
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 line 56
void handle()

Execute the job.

Return Value

void