TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ProcessorInterface Interface Reference
Inheritance diagram for ProcessorInterface:
LocalImageProcessor

Public Member Functions

 canProcessTask (TaskInterface $task)
 
 processTask (TaskInterface $task)
 

Detailed Description

Interface for file processors. All classes capable of processing a file have to implement this interface.

Definition at line 20 of file Resource/Processing/ProcessorInterface.php.

Member Function Documentation

canProcessTask ( TaskInterface  $task)

Returns TRUE if this processor can process the given task.

Parameters
TaskInterface$task
Returns
bool

Implemented in LocalImageProcessor.

processTask ( TaskInterface  $task)

Processes the given task and sets the processing result in the task object.

Parameters
TaskInterface$task
Returns
void

Implemented in LocalImageProcessor.