ApcCacheTest.php in Plug 7
Namespace
Doctrine\Tests\Common\CacheFile
lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.phpView source
<?php
namespace Doctrine\Tests\Common\Cache;
use Doctrine\Common\Cache\ApcCache;
class ApcCacheTest extends CacheTest {
public function setUp() {
if (!extension_loaded('apc') || false === @apc_cache_info()) {
$this
->markTestSkipped('The ' . __CLASS__ . ' requires the use of APC');
}
}
protected function _getCacheDriver() {
return new ApcCache();
}
}
Classes
Name | Description |
---|---|
ApcCacheTest |