class ForceImageFormatProcessor implements ProcessorInterface (View source)

Constants

FORMAT_JPEG

Properties

protected $format

Methods

__construct($format)

No description

mixed
getFormat()

No description

setFormat(mixed $format)

No description

bool
shouldProcess(Version $version)

Should this processor process a specific file version?

process(Version $version)

Process a specific file version.

Details

__construct($format)

Parameters

$format

mixed getFormat()

Return Value

mixed

setFormat(mixed $format)

Parameters

mixed $format

bool shouldProcess(Version $version)

Should this processor process a specific file version?

Parameters

Version $version

Return Value

bool

process(Version $version)

Process a specific file version.

Parameters

Version $version

Exceptions

Exception in case of errors