You are here

protected function MongoDBCacheTest::_getCacheDriver in Zircon Profile 8.0

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

Return value

\Doctrine\Common\Cache\CacheProvider

Overrides CacheTest::_getCacheDriver

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

File

vendor/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);
}