public function Profiler::saveProfile

Saves a Profile.

Parameters

Profile $profile A Profile instance:

Return value

Boolean

1 call to Profiler::saveProfile()
Profiler::import in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/Profiler.php
Imports data into the profiler storage.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/Profiler.php, line 89

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function saveProfile(Profile $profile) {
  if (!($ret = $this->storage
    ->write($profile)) && null !== $this->logger) {
    $this->logger
      ->warn('Unable to store the profiler information.');
  }
  return $ret;
}