class Thumbnail (View source)

Properties

protected Version $version

The thumbnail type version.

protected string $path

The thumbnail full URL (if available) or its path relative to the webroot.

Methods

__construct(Version $version, string $path)

Initialize the instance.

getThumbnailTypeVersionObject()

Get the thumbnail type version.

string
getPath()

Get the thumbnail full URL (if available) or its path relative to the webroot.

Details

__construct(Version $version, string $path)

Initialize the instance.

Parameters

Version $version

the thumbnail type version

string $path

the thumbnail full URL (if available) or its path relative to the webroot

Version getThumbnailTypeVersionObject()

Get the thumbnail type version.

Return Value

Version

string getPath()

Get the thumbnail full URL (if available) or its path relative to the webroot.

Return Value

string