ApcCacheTest.php

Namespace

Doctrine\Tests\Common\Cache

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.php
View 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

Namesort descending Description
ApcCacheTest