‪TYPO3CMS  ‪main
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 ()
 
TaskInterface getTaskForType ($taskType, ProcessedFile $processedFile, array $processingConfiguration)
 

Protected Member Functions

string getClassForTaskType ($taskType)
 

Protected Attributes

array $registeredTaskTypes = array( )
 

Detailed Description

The registry for task types.

Definition at line 25 of file TaskTypeRegistry.php.

Constructor & Destructor Documentation

◆ __construct()

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

Register task types from configuration

Definition at line 34 of file TaskTypeRegistry.php.

References $GLOBALS.

Member Function Documentation

◆ getClassForTaskType()

string 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 45 of file TaskTypeRegistry.php.

Referenced by TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry\getTaskForType().

◆ getTaskForType()

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

Definition at line 55 of file TaskTypeRegistry.php.

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

Member Data Documentation

◆ $registeredTaskTypes

array TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::$registeredTaskTypes = array( )
protected

Definition at line 29 of file TaskTypeRegistry.php.