public function Profiler::loadProfileFromResponse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Profiler/Profiler.php \Symfony\Component\HttpKernel\Profiler\Profiler::loadProfileFromResponse()
Loads the Profile for the given Response.
Parameters
Response $response A Response instance:
Return value
File
- vendor/
symfony/ http-kernel/ Profiler/ Profiler.php, line 82
Class
- Profiler
- Profiler.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function loadProfileFromResponse(Response $response) {
if (!($token = $response->headers
->get('X-Debug-Token'))) {
return false;
}
return $this
->loadProfile($token);
}