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