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