trait GenericResizeTrait

Trait GenericResizeTrait

Methods

generic(string $resizeName, int|float|string|null $width = null, int|float|null $height = null)

Generic resize builder.

Details

static GenericResizeTrait generic(string $resizeName, int|float|string|null $width = null, int|float|null $height = null)

Generic resize builder.

Parameters

Name Type Description
$resizeName string Provide future (not supported in the current version) resize name.
$width int|float|string|null The required width of a transformed asset.
$height int|float|null The required height of a transformed asset.

Return Value

GenericResizeTrait