ImageAutorotator
class ImageAutorotator implements PreProcessorInterface (View source)
Properties
private bool | $enabled | Is this pre-processor enabled? |
Methods
$this
int
getPreProcessPriority()
Get the priority of this pre-processor.
bool
shouldPreProcess(ImportingFile $file, ImportOptions $options)
Check if this pre-processor should process a file being imported.
bool
isEnabled()
Is this pre-processor enabled?
$this
setEnabled(bool $value)
Is this pre-processor enabled?
Details
$this
readConfiguration(Repository $config)
Initialize the processor from the configured values.
int
getPreProcessPriority()
Get the priority of this pre-processor.
bool
shouldPreProcess(ImportingFile $file, ImportOptions $options)
Check if this pre-processor should process a file being imported.
preProcess(ImportingFile $file, ImportOptions $options)
Pre-process a file being imported.
bool
isEnabled()
Is this pre-processor enabled?
$this
setEnabled(bool $value)
Is this pre-processor enabled?