Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceableEventDispatcher.php

function TraceableEventDispatcher::addSubscriber

Overrides EventDispatcherInterface::addSubscriber

File

vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php, line 54

Class

TraceableEventDispatcher
Collects some data about event listeners.

Namespace

Symfony\Component\EventDispatcher\Debug

Code

public function addSubscriber(EventSubscriberInterface $subscriber) : void {
    $this->dispatcher
        ->addSubscriber($subscriber);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal