public getCacheDir ( ) : string | ||
return | string | The app cache directory |
public function getCacheDir()
{
return $this->getNamingDirectory()->search(sprintf('php:env/%s/cacheDirectory', $this->getUniqueName()));
}
/** * Test if the getter for the cache dir works. * * @return void */ public function testGetCacheDir() { $this->assertEquals(ApplicationTest::CACHE_DIR, $this->application->getCacheDir()); }