private function RedisProfilerStorage::getValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Profiler/RedisProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\RedisProfilerStorage::getValue()
Retrieves an item from the Redis server.
Parameters
string $key:
int $serializer:
Return value
mixed
5 calls to RedisProfilerStorage::getValue()
- RedisProfilerStorage::createProfileFromData in vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php - RedisProfilerStorage::find in vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php - Finds profiler tokens for the given criteria.
- RedisProfilerStorage::purge in vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php - Purges all data from the database.
- RedisProfilerStorage::read in vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php - Reads data associated with the given token.
- RedisProfilerStorage::write in vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php - Saves a Profile.
File
- vendor/
symfony/ http-kernel/ Profiler/ RedisProfilerStorage.php, line 334
Class
- RedisProfilerStorage
- RedisProfilerStorage stores profiling information in Redis.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
private function getValue($key, $serializer = self::REDIS_SERIALIZER_NONE) {
$redis = $this
->getRedis();
$redis
->setOption(self::REDIS_OPT_SERIALIZER, $serializer);
return $redis
->get($key);
}