\Symfony\Component\EventDispatcher\DependencyInjectionRegisterListenersPass

Compiler pass to register tagged services for an event dispatcher.

Summary

Methods
Properties
Constants
__construct()
process()
No public properties found
No constants found
No protected methods found
$dispatcherService
$listenerTag
$subscriberTag
N/A
No private methods found
No private properties found
N/A

Properties

$dispatcherService

$dispatcherService : string

Type

string

$listenerTag

$listenerTag : string

Type

string

$subscriberTag

$subscriberTag : string

Type

string

Methods

__construct()

__construct(string  $dispatcherService = 'event_dispatcher', string  $listenerTag = 'kernel.event_listener', string  $subscriberTag = 'kernel.event_subscriber') 

Constructor.

Parameters

string $dispatcherService

Service name of the event dispatcher in processed container

string $listenerTag

Tag name used for listener

string $subscriberTag

Tag name used for subscribers

process()

process(\Symfony\Component\DependencyInjection\ContainerBuilder  $container) 

Parameters

\Symfony\Component\DependencyInjection\ContainerBuilder $container