You are here

protected function MongoDBCacheTest::_getCacheDriver in Plug 7

Return value

\Doctrine\Common\Cache\CacheProvider

Overrides CacheTest::_getCacheDriver

2 calls to MongoDBCacheTest::_getCacheDriver()
MongoDBCacheTest::testGetStats in lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php
@group DCOM-43
MongoDBCacheTest::testSaveWithNonUtf8String in lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php, line 57

Class

MongoDBCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

protected function _getCacheDriver() {
  return new MongoDBCache($this->collection);
}