You are here

public function ApcCacheTest::setUp in Zircon Profile 8

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

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcCacheTest.php, line 9

Class

ApcCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function setUp() {
  if (!extension_loaded('apc') || false === @apc_cache_info()) {
    $this
      ->markTestSkipped('The ' . __CLASS__ . ' requires the use of APC');
  }
}