public function EventSubscriber::getSubscribedEvents in Plug 7
Returns an array of events this subscriber wants to listen to.
Return value
array
1 method overrides EventSubscriber::getSubscribedEvents()
- TestEventSubscriber::getSubscribedEvents in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php - Returns an array of events this subscriber wants to listen to.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ EventSubscriber.php, line 41
Class
- EventSubscriber
- An EventSubscriber knows himself what events he is interested in. If an EventSubscriber is added to an EventManager, the manager invokes {@link getSubscribedEvents} and registers the subscriber as a listener for all returned events.
Namespace
Doctrine\CommonCode
public function getSubscribedEvents();