You are here

protected function RedisCacheTest::_getCacheDriver in Plug 7

Return value

\Doctrine\Common\Cache\CacheProvider

Overrides CacheTest::_getCacheDriver

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/RedisCacheTest.php, line 24

Class

RedisCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

protected function _getCacheDriver() {
  $driver = new RedisCache();
  $driver
    ->setRedis($this->_redis);
  return $driver;
}