private function TraceableEventDispatcher::updateProfiles

Updates the stopwatch data in the profile hierarchy.

Parameters

string $token Profile token:

Boolean $updateChildren Whether to update the children altogether:

1 call to TraceableEventDispatcher::updateProfiles()
TraceableEventDispatcher::postDispatch in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php, line 322

Class

TraceableEventDispatcher
Collects some data about event listeners.

Namespace

Symfony\Component\HttpKernel\Debug

Code

private function updateProfiles($token, $updateChildren) {
  if (!$this->profiler || !($profile = $this->profiler
    ->loadProfile($token))) {
    return;
  }
  $this
    ->saveInfoInProfile($profile, $updateChildren);
}