Class Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass

InheritanceSymfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass
ImplementsSymfony\Component\DependencyInjection\Compiler\CompilerPassInterface

Compiler pass to register tagged services for an event dispatcher.

Property Details

$dispatcherService protected property
protected string $dispatcherService null
$listenerTag protected property
protected string $listenerTag null
$subscriberTag protected property
protected string $subscriberTag null

Method Details

__construct() public method

Constructor.

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

Service name of the event dispatcher in processed container

$listenerTag string

Tag name used for listener

$subscriberTag string

Tag name used for subscribers

process() public method

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