RegisterListenersPass
RegisterListenersPass
class RegisterListenersPass implements CompilerPassInterface
Compiler pass to register tagged services for an event dispatcher.
Methods
__construct(string $dispatcherService = 'event_dispatcher', string $listenerTag = 'kernel.event_listener', string $subscriberTag = 'kernel.event_subscriber') Constructor. | ||
process(ContainerBuilder $container) You can modify the container here before it |