You are here

protected function CouchbaseCacheTest::_getCacheDriver in Zircon Profile 8

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

Return value

\Doctrine\Common\Cache\CacheProvider

Overrides CacheTest::_getCacheDriver

2 calls to CouchbaseCacheTest::_getCacheDriver()
CouchbaseCacheTest::testLongLifetime in vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php
CouchbaseCacheTest::testNoExpire in vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CouchbaseCacheTest.php, line 41

Class

CouchbaseCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

protected function _getCacheDriver() {
  $driver = new CouchbaseCache();
  $driver
    ->setCouchbase($this->couchbase);
  return $driver;
}