public function RedisProfilerStorage::setRedis

Set instance of the Redis

Parameters

Redis $redis:

File

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

Class

RedisProfilerStorage
RedisProfilerStorage stores profiling information in Redis.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function setRedis($redis) {
  $this->redis = $redis;
}