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