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(
'onEvent' => 'onEvent',
'onEvent' => array(
'onEvent',
10,
),
'onEvent' => array(
'onEvent',
),
);
}