‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Messenger\HandlersLocatorFactory Class Reference

Public Member Functions

 __construct (private readonly ContainerInterface $container)
 
 createHandlersLocator ()
 
 addHandler (string $messageClass, string $handlerService, string $handlerMethod)
 

Private Attributes

array $handlers = []
 

Detailed Description

not part of TYPO3 Core API

Definition at line 27 of file HandlersLocatorFactory.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Messenger\HandlersLocatorFactory::__construct ( private readonly ContainerInterface  $container)

Definition at line 31 of file HandlersLocatorFactory.php.

Member Function Documentation

◆ addHandler()

TYPO3\CMS\Core\Messenger\HandlersLocatorFactory::addHandler ( string  $messageClass,
string  $handlerService,
string  $handlerMethod 
)

internally called by the messageHandlerPass

Definition at line 43 of file HandlersLocatorFactory.php.

References $args.

◆ createHandlersLocator()

TYPO3\CMS\Core\Messenger\HandlersLocatorFactory::createHandlersLocator ( )

Definition at line 33 of file HandlersLocatorFactory.php.

Member Data Documentation

◆ $handlers

array TYPO3\CMS\Core\Messenger\HandlersLocatorFactory::$handlers = []
private

Definition at line 29 of file HandlersLocatorFactory.php.