class ConstrainImageProcessor implements ProcessorInterface (View source)

Properties

protected $maxWidth
protected $maxHeight
protected $constraintMode

Methods

__construct($maxWidth = null, $maxHeight = null, $constraintMode = null)

No description

mixed
getMaxWidth()

No description

setMaxWidth(mixed $maxWidth)

No description

mixed
getMaxHeight()

No description

setMaxHeight(mixed $maxHeight)

No description

string
getConstraintMode()

No description

setConstraintMode(string $constraintMode)

No description

shouldProcess(Version $version)

No description

process(Version $version)

No description

Details

__construct($maxWidth = null, $maxHeight = null, $constraintMode = null)

No description

Parameters

$maxWidth
$maxHeight
$constraintMode

mixed getMaxWidth()

No description

Return Value

mixed

setMaxWidth(mixed $maxWidth)

No description

Parameters

mixed $maxWidth

mixed getMaxHeight()

No description

Return Value

mixed

setMaxHeight(mixed $maxHeight)

No description

Parameters

mixed $maxHeight

string getConstraintMode()

No description

Return Value

string

setConstraintMode(string $constraintMode)

No description

Parameters

string $constraintMode

shouldProcess(Version $version)

No description

Parameters

Version $version

process(Version $version)

No description

Parameters

Version $version