class EventSubscriber

Hierarchy

Expanded class hierarchy of EventSubscriber

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Debug/TraceableEventDispatcherTest.php, line 235

Namespace

Symfony\Component\HttpKernel\Tests\Debug
View source
class EventSubscriber implements EventSubscriberInterface {
  public static function getSubscribedEvents() {
    return array(
      'foo' => 'call',
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EventSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents