public function Kernel::getCacheDir in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Kernel.php \Symfony\Component\HttpKernel\Kernel::getCacheDir()
Gets the cache directory.
Return value
string The cache directory
Overrides KernelInterface::getCacheDir
5 calls to Kernel::getCacheDir()
- Kernel::buildContainer in vendor/
symfony/ http-kernel/ Kernel.php - Builds the service container.
- Kernel::doLoadClassCache in vendor/
symfony/ http-kernel/ Kernel.php - Kernel::getKernelParameters in vendor/
symfony/ http-kernel/ Kernel.php - Returns the kernel parameters.
- Kernel::initializeContainer in vendor/
symfony/ http-kernel/ Kernel.php - Initializes the service container.
- Kernel::setClassCache in vendor/
symfony/ http-kernel/ Kernel.php - Used internally.
File
- vendor/
symfony/ http-kernel/ Kernel.php, line 383
Class
- Kernel
- The Kernel is the heart of the Symfony system.
Namespace
Symfony\Component\HttpKernelCode
public function getCacheDir() {
return $this->rootDir . '/cache/' . $this->environment;
}