An EventSubscriber knows himself what events he is interested in. If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes {@link getSubscribedEvents} and registers the subscriber as a listener for all returned events.
@author Guilherme Blanco <guilhermeblanco@hotmail.com> @author Jonathan Wage <jonwage@gmail.com> @author Roman Borschel <roman@code-factory.org> @author Bernhard Schussek <bschussek@gmail.com>
@api
Expanded class hierarchy of EventSubscriberInterface
All classes that implement EventSubscriberInterface
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventSubscriberInterface:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | 32 |