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