public function BaseMemcacheProfilerStorage::read in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Profiler/BaseMemcacheProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\BaseMemcacheProfilerStorage::read()
Reads data associated with the given token.
The method returns false if the token does not exist in the storage.
Parameters
string $token A token:
Return value
Profile The profile associated with token
Overrides ProfilerStorageInterface::read
1 call to BaseMemcacheProfilerStorage::read()
- BaseMemcacheProfilerStorage::createProfileFromData in vendor/
symfony/ http-kernel/ Profiler/ BaseMemcacheProfilerStorage.php
File
- vendor/
symfony/ http-kernel/ Profiler/ BaseMemcacheProfilerStorage.php, line 137
Class
- BaseMemcacheProfilerStorage
- Base Memcache storage for profiling information in a Memcache.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function read($token) {
if (empty($token)) {
return false;
}
$profile = $this
->getValue($this
->getItemName($token));
if (false !== $profile) {
$profile = $this
->createProfileFromData($token, $profile);
}
return $profile;
}