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

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 33
__construct(Image $img, string $prefix)

No description

Parameters

Image $img
string $prefix

at line 40
handle()

No description

at line 69
private bool hasThumbnail($disk)

Determine if original image has thumbnail.

Parameters

$disk

containing original image's thumbnail.

Return Value

bool

at line 82
private bool hasTiledImages($disk)

Determine if original image has tiled data.

Parameters

$disk

containing original image's tiled images.

Return Value

bool

at line 92
protected bool shouldBeTiled()

Determine if an image should be tiled.

Return Value

bool