‪TYPO3CMS  ‪main
TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass Class Reference
Inheritance diagram for TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass:

Public Member Functions

 __construct (string $tagName)
 
 process (ContainerBuilder $container)
 

Protected Member Functions

 collectListeners (ContainerBuilder $container)
 
string[] null getParameterType (string $serviceName, Definition $definition, string $method='__invoke')
 
 getReflectionMethod (string $serviceName, Definition $definition, string $method)
 

Private Attributes

string $tagName
 
ContainerBuilder $container
 
DependencyOrderingService $orderer
 

Detailed Description

Definition at line 31 of file ListenerProviderPass.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::__construct ( string  $tagName)

Member Function Documentation

◆ collectListeners()

TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::collectListeners ( ContainerBuilder  $container)
protected

◆ getParameterType()

string [] null TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::getParameterType ( string  $serviceName,
Definition  $definition,
string  $method = '__invoke' 
)
protected

Derives the class type(s) of the first argument of a given method. Supporting union types, this method returns the class type(s) as list.

Returns
‪string[]|null A list of class types or NULL on failure

Definition at line 113 of file ListenerProviderPass.php.

References TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass\getReflectionMethod().

Referenced by TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass\collectListeners().

◆ getReflectionMethod()

TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::getReflectionMethod ( string  $serviceName,
Definition  $definition,
string  $method 
)
protected
Exceptions
RuntimeException‪This method borrowed very closely from Symfony's AbstractRecurisvePass.

Definition at line 158 of file ListenerProviderPass.php.

Referenced by TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass\getParameterType().

◆ process()

TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::process ( ContainerBuilder  $container)

Member Data Documentation

◆ $container

ContainerBuilder TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::$container
private

◆ $orderer

DependencyOrderingService TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::$orderer
private

Definition at line 37 of file ListenerProviderPass.php.

◆ $tagName

string TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass::$tagName
private