TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TaskTypeRegistry Class Reference
Inheritance diagram for TaskTypeRegistry:
SingletonInterface

Public Member Functions

 __construct ()
 
 getTaskForType ($taskType,\TYPO3\CMS\Core\Resource\ProcessedFile $processedFile, array $processingConfiguration)
 

Protected Member Functions

 getClassForTaskType ($taskType)
 

Protected Attributes

 $registeredTaskTypes = array()
 

Detailed Description

The registry for task types.

Definition at line 20 of file TaskTypeRegistry.php.

Constructor & Destructor Documentation

__construct ( )

Register task types from configuration

Definition at line 30 of file TaskTypeRegistry.php.

References $GLOBALS.

Member Function Documentation

getClassForTaskType (   $taskType)
protected

Returns the class that implements the given task type.

Parameters
string$taskType
Returns
string

Definition at line 41 of file TaskTypeRegistry.php.

Referenced by TaskTypeRegistry\getTaskForType().

getTaskForType (   $taskType,
\TYPO3\CMS\Core\Resource\ProcessedFile  $processedFile,
array  $processingConfiguration 
)
Parameters
string$taskType
\TYPO3\CMS\Core\Resource\ProcessedFile$processedFile
array$processingConfiguration
Returns
TaskInterface
Exceptions
\RuntimeException

Definition at line 53 of file TaskTypeRegistry.php.

References TaskTypeRegistry\getClassForTaskType().

Member Data Documentation

$registeredTaskTypes = array()
protected

Definition at line 25 of file TaskTypeRegistry.php.