class CloneImageThumbnails extends Job implements ShouldQueue

Traits

InteractsWithQueue
SerializesModels
Queueable
Dispatchable

Properties

string $prefix

Path of original image thumbnails and tiled data

string $copyPrefix

Path of cloned image thumbnails and tiled data

Image $image

Cloned image of cloned volume

protected bool $deleteWhenMissingModels

Ignore this job if the image does not exist any more.

Methods

__construct(Image $img, string $prefix)

No description

handle()

No description

bool
hasThumbnail($disk)

Determine if original image has thumbnail.

bool
hasTiledImages($disk)

Determine if original image has tiled data.

bool
shouldBeTiled()

Determine if an image should be tiled.

Details

at line 41
__construct(Image $img, string $prefix)

No description

Parameters

Image $img
string $prefix

at line 48
handle()

No description

at line 77
private bool hasThumbnail($disk)

Determine if original image has thumbnail.

Parameters

$disk

containing original image's thumbnail.

Return Value

bool

at line 90
private bool hasTiledImages($disk)

Determine if original image has tiled data.

Parameters

$disk

containing original image's tiled images.

Return Value

bool

at line 100
protected bool shouldBeTiled()

Determine if an image should be tiled.

Return Value

bool