Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
@api
array The event names to listen to
Overrides EventSubscriberInterface::getSubscribedEvents
public static function getSubscribedEvents() {
return array(
'pre.foo' => array(
'preFoo',
10,
),
'post.foo' => array(
'postFoo',
),
);
}