You are here

public function EventDataCollector::lateCollect in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/EventDataCollector.php \Symfony\Component\HttpKernel\DataCollector\EventDataCollector::lateCollect()

Collects data as late as possible.

Overrides LateDataCollectorInterface::lateCollect

File

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

Class

EventDataCollector
EventDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function lateCollect() {
  if ($this->dispatcher instanceof TraceableEventDispatcherInterface) {
    $this
      ->setCalledListeners($this->dispatcher
      ->getCalledListeners());
    $this
      ->setNotCalledListeners($this->dispatcher
      ->getNotCalledListeners());
  }
}