You are here

public function RedisCache::getRedis in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php \Doctrine\Common\Cache\RedisCache::getRedis()

Gets the redis instance used by the cache.

Return value

Redis|null

File

vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php, line 56

Class

RedisCache
Redis cache provider.

Namespace

Doctrine\Common\Cache

Code

public function getRedis() {
  return $this->redis;
}