public function Profiler::updateProfile in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Profiler/Profiler.php \Drupal\webprofiler\Profiler\Profiler::updateProfile()
- 8.2 webprofiler/src/Profiler/Profiler.php \Drupal\webprofiler\Profiler\Profiler::updateProfile()
- 4.x webprofiler/src/Profiler/Profiler.php \Drupal\webprofiler\Profiler\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\ProfilerCode
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;
}