class ProcessNewVolumeFiles extends Job implements ShouldQueue

Traits

InteractsWithQueue
SerializesModels
Queueable
Dispatchable

Properties

protected Volume $volume

The volume for which the files should be processed.

protected array $only

Array of image/video 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 files should be processed.

array $only

(optional) Array of image/video IDs to restrict processing to. If it is empty, all files of the volume will be taken.

Return Value

void

at line 56
void handle()

Execute the job.

Return Value

void