‪TYPO3CMS  ‪main
TYPO3\CMS\Reactions\ReactionRegistry Class Reference

Public Member Functions

 __construct (private readonly \IteratorAggregate $registeredReactions)
 
IteratorAggregate< ReactionInterfacegetAvailableReactionTypes ()
 
 getReactionByType (string $type)
 

Detailed Description

Registry contains all possible reaction types which are available to the system

Definition at line 27 of file ReactionRegistry.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Reactions\ReactionRegistry::__construct ( private readonly \IteratorAggregate  $registeredReactions)
Parameters

Definition at line 32 of file ReactionRegistry.php.

Member Function Documentation

◆ getAvailableReactionTypes()

IteratorAggregate<ReactionInterface> TYPO3\CMS\Reactions\ReactionRegistry::getAvailableReactionTypes ( )
Returns
‪\IteratorAggregate<ReactionInterface>

Definition at line 39 of file ReactionRegistry.php.

◆ getReactionByType()

TYPO3\CMS\Reactions\ReactionRegistry::getReactionByType ( string  $type)

Definition at line 44 of file ReactionRegistry.php.