private function RedisProfilerStorage::getValue

Retrieves an item from the Redis server.

Parameters

string $key:

int $serializer:

Return value

mixed

5 calls to RedisProfilerStorage::getValue()

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php, line 321

Class

RedisProfilerStorage
RedisProfilerStorage stores profiling information in Redis.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

private function getValue($key, $serializer = self::REDIS_SERIALIZER_NONE) {
  $redis = $this
    ->getRedis();
  $redis
    ->setOption(self::REDIS_OPT_SERIALIZER, $serializer);
  return $redis
    ->get($key);
}