class TestEventSubscriber in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\TestEventSubscriber
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber
Hierarchy
- class \Doctrine\Tests\Common\TestEventSubscriber implements EventSubscriber
Expanded class hierarchy of TestEventSubscriber
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php, line 82
Namespace
Doctrine\Tests\CommonView source
class TestEventSubscriber implements \Doctrine\Common\EventSubscriber {
public function getSubscribedEvents() {
return array(
'preFoo',
'postFoo',
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestEventSubscriber:: |
public | function |
Returns an array of events this subscriber wants to listen to. Overrides EventSubscriber:: |