You are here

public function BaseFileCacheTest::setUp in Zircon Profile 8

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

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php, line 12

Class

BaseFileCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function setUp() {
  do {
    $this->directory = sys_get_temp_dir() . '/doctrine_cache_' . uniqid();
  } while (file_exists($this->directory));
}