public function getCacheDir()
{
return $this->rootDir.'/cache/'.$this->environment;
}
Kernel::getCacheDir ( ) : string |
/** * @Given the following acme_php configuration: */ public function theFollowingAcmePhpConfiguration(PyStringNode $rawConfig) { $yaml = new Yaml(); $config = ['acme_php' => array_merge($this->getDefaultConfig(), $yaml->parse($rawConfig->getRaw()))]; $this->filesystem->dumpFile($this->acmeConfigPath, $yaml->dump($config, 4)); $this->kernel->shutdown(); $this->filesystem->remove($this->kernel->getCacheDir()); $this->kernel->boot(); }