CreateNewImagesOrVideos
class CreateNewImagesOrVideos extends Job implements ShouldQueue
Traits
InteractsWithQueue
SerializesModels
Queueable
Dispatchable
Properties
Volume | $volume | The volume to create the files for. |
|
array | $filenames | The filenames of the files to create. |
|
array | $metadata | Metadata of the files to add during creation. |
Methods
void
handle()
Execute the job.
array
createFiles(array $filenames, VolumeMetadata|null $metadata)
Create an array to be inserted as new image or video models.
Details
at line 48
void
__construct(Volume $volume, array $filenames)
Create a new job instance.
at line 60
handle()
Execute the job.
at line 106
protected array
createFiles(array $filenames, VolumeMetadata|null $metadata)
Create an array to be inserted as new image or video models.