You are here

public function RedisProfilerStorage::setRedis in Zircon Profile 8.0

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

Set instance of the Redis.

Parameters

\Redis $redis:

File

vendor/symfony/http-kernel/Profiler/RedisProfilerStorage.php, line 244

Class

RedisProfilerStorage
RedisProfilerStorage stores profiling information in Redis.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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