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

Breadcrumb

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

function EventDataCollector::lateCollect

Overrides LateDataCollectorInterface::lateCollect

File

vendor/symfony/http-kernel/DataCollector/EventDataCollector.php, line 66

Class

EventDataCollector
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function lateCollect() : void {
    foreach ($this->dispatchers as $name => $dispatcher) {
        if (!$dispatcher instanceof TraceableEventDispatcher) {
            continue;
        }
        $this->setCalledListeners($dispatcher->getCalledListeners($this->currentRequest), $name);
        $this->setNotCalledListeners($dispatcher->getNotCalledListeners($this->currentRequest), $name);
        $this->setOrphanedEvents($dispatcher->getOrphanedEvents($this->currentRequest), $name);
    }
    $this->data = $this->cloneVar($this->data);
}
RSS feed
Powered by Drupal