TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

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

Protected Member Functions

 getClassForTaskType ($taskType)
 

Protected Attributes

 $registeredTaskTypes = []
 

Detailed Description

The registry for task types.

Definition at line 20 of file TaskTypeRegistry.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::__construct ( )

Register task types from configuration

Definition at line 30 of file TaskTypeRegistry.php.

References $GLOBALS.

Member Function Documentation

◆ getClassForTaskType()

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::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 TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry\getTaskForType().

◆ getTaskForType()

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

Definition at line 53 of file TaskTypeRegistry.php.

References TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry\getClassForTaskType().

Member Data Documentation

◆ $registeredTaskTypes

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::$registeredTaskTypes = []
protected

Definition at line 25 of file TaskTypeRegistry.php.