public function TestEventSubscriber::getSubscribedEvents in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\TestEventSubscriber::getSubscribedEvents()
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber::getSubscribedEvents()
Returns an array of events this subscriber wants to listen to.
Return value
array
Overrides EventSubscriber::getSubscribedEvents
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php, line 84
Class
Namespace
Doctrine\Tests\CommonCode
public function getSubscribedEvents() {
return array(
'preFoo',
'postFoo',
);
}