You are here

protected function ChainCacheTest::_getCacheDriver in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ChainCacheTest.php \Doctrine\Tests\Common\Cache\ChainCacheTest::_getCacheDriver()

Return value

\Doctrine\Common\Cache\CacheProvider

Overrides CacheTest::_getCacheDriver

1 call to ChainCacheTest::_getCacheDriver()
ChainCacheTest::testGetStats in vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ChainCacheTest.php
@group DCOM-43

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ChainCacheTest.php, line 11

Class

ChainCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

protected function _getCacheDriver() {
  return new ChainCache(array(
    new ArrayCache(),
  ));
}