ThumbnailConfiguration
class ThumbnailConfiguration (View source)
Thumbnail configuration value object
Properties
protected int | $width | ||
protected int | $maximumWidth | ||
protected int | $height | ||
protected int | $maximumHeight | ||
protected bool | $allowCropping | ||
protected bool | $allowUpScaling | ||
protected int | $quality | ||
protected bool | $async | ||
protected string | $format | ||
static protected bool | $loggedDeprecation |
Methods
__construct(int $width = null, int $maximumWidth = null, int $height = null, int $maximumHeight = null, bool $allowCropping = false, bool $allowUpScaling = false, bool $async = false, int $quality = null, string $format = null)
No description
int
getWidth()
No description
int
getMaximumWidth()
No description
int
getHeight()
No description
int
getMaximumHeight()
No description
bool
getRatioMode()
No description
bool
isCroppingAllowed()
No description
bool
isUpScalingAllowed()
No description
bool
isAsync()
No description
string
getHash()
No description
int
getQuality()
No description
string|null
getFormat()
No description
array
toArray()
No description
Details
__construct(int $width = null, int $maximumWidth = null, int $height = null, int $maximumHeight = null, bool $allowCropping = false, bool $allowUpScaling = false, bool $async = false, int $quality = null, string $format = null)
No description
int
getWidth()
No description
int
getMaximumWidth()
No description
int
getHeight()
No description
int
getMaximumHeight()
No description
bool
getRatioMode()
No description
bool
isCroppingAllowed()
No description
bool
isUpScalingAllowed()
No description
bool
isAsync()
No description
string
getHash()
No description
int
getQuality()
No description
string|null
getFormat()
No description
array
toArray()
No description