Expanded class hierarchy of SubscriberService
class SubscriberService implements EventSubscriberInterface {
public static function getSubscribedEvents() {
return array(
'onEvent' => 'onEvent',
'onEvent' => array(
'onEvent',
10,
),
'onEvent' => array(
'onEvent',
),
);
}
public function onEvent(Event $e) {
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SubscriberService:: |
public static | function |
Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface:: |
|
SubscriberService:: |
public | function |