Expanded class hierarchy of TestEventSubscriberWithPriorities
class TestEventSubscriberWithPriorities implements EventSubscriberInterface {
public static function getSubscribedEvents() {
return array(
'pre.foo' => array(
'preFoo',
10,
),
'post.foo' => array(
'postFoo',
),
);
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestEventSubscriberWithPriorities:: |
public static | function |
Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface:: |