PHP 인터페이스 Symfony\Component\EventDispatcher\EventSubscriberInterface
If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
{@link getSubscribedEvents} and registers the subscriber as a listener for all
returned events.
Returns an array of event names this subscriber wants to listen to.
메소드 상세
getSubscribedEvents()
정적인공개메소드
The array keys are event names and the value can be:
* The method name to call (priority defaults to 0)
* An array composed of the method name to call and the priority
For instance:
* array('eventName' => 'methodName')
* array('eventName' => array('methodName', $priority))