class ProcessCloneVolumeFiles 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 array $uuidMap

Array maps uuid of copied file to uuid of original files.

Methods

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

Create a new job instance.

void
handle()

Execute the job.

Details

at line 50
void __construct(Volume $volume, array $uuidMap, array $only = [])

Create a new job instance.

Parameters

Volume $volume

The volume for which the files should be processed.

array $uuidMap

Array to map copied file uuid to the original file uuid during cloning process.

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 62
void handle()

Execute the job.

Return Value

void