class ForceImageFormatProcessor implements ProcessorInterface (View source)

deprecated Use an implementation of Concrete\Core\File\Import\Processor\PreProcessorInterface

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)

No description

Parameters

$format

mixed getFormat()

No description

Return Value

mixed

setFormat(mixed $format)

No description

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