public function EventSubscriber::getSubscribedEvents in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber::getSubscribedEvents()
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/EventSubscriber.php \Doctrine\Common\EventSubscriber::getSubscribedEvents()
- 8.0 core/modules/config/tests/config_import_test/src/EventSubscriber.php \Drupal\config_import_test\EventSubscriber::getSubscribedEvents()
- 8.0 core/modules/config/tests/config_collection_install_test/src/EventSubscriber.php \Drupal\config_collection_install_test\EventSubscriber::getSubscribedEvents()
- 8.0 core/modules/config/tests/config_events_test/src/EventSubscriber.php \Drupal\config_events_test\EventSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/EventSubscriber.php \Doctrine\Common\EventSubscriber::getSubscribedEvents()
Returns an array of events this subscriber wants to listen to.
Return value
array
1 method overrides EventSubscriber::getSubscribedEvents()
- TestEventSubscriber::getSubscribedEvents in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php - Returns an array of events this subscriber wants to listen to.
File
- vendor/
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();