function Profiler::updateProfile

Parameters

\Symfony\Component\HttpKernel\Profiler\Profile $profile:

Return value

bool

File

webprofiler/src/Profiler/Profiler.php, line 70

Class

Profiler
Class Profiler

Namespace

Drupal\webprofiler\Profiler

Code

public function updateProfile(Profile $profile) {
    if (!($ret = $this->localStorage
        ->write($profile)) && NULL !== $this->localLogger) {
        $this->localLogger
            ->warning('Unable to store the profiler information.');
    }
    return $ret;
}