You are here

public function Profiler::loadProfile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profiler.php \Symfony\Component\HttpKernel\Profiler\Profiler::loadProfile()

Loads the Profile for the given token.

Parameters

string $token A token:

Return value

Profile A Profile instance

1 call to Profiler::loadProfile()
Profiler::loadProfileFromResponse in vendor/symfony/http-kernel/Profiler/Profiler.php
Loads the Profile for the given Response.

File

vendor/symfony/http-kernel/Profiler/Profiler.php, line 98

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function loadProfile($token) {
  return $this->storage
    ->read($token);
}