public function Profiler::saveProfile

Saves a Profile.

Parameters

Profile $profile A Profile instance:

Return value

Boolean

1 call to Profiler::saveProfile()

File

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

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
      ->warning('Unable to store the profiler information.');
  }
  return $ret;
}