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

Breadcrumb

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

function EventDispatcher::__construct

Same name in this branch
  1. 11.1.x vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php \Composer\EventDispatcher\EventDispatcher::__construct()

File

vendor/symfony/event-dispatcher/EventDispatcher.php, line 38

Class

EventDispatcher
The EventDispatcherInterface is the central point of Symfony's event listener system.

Namespace

Symfony\Component\EventDispatcher

Code

public function __construct() {
    if (__CLASS__ === static::class) {
        $this->optimized = [];
    }
}
RSS feed
Powered by Drupal