Gets the cache directory.
@api
Return value
string The cache directory
Overrides KernelInterface::getCacheDir
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 457
Class
- Kernel
- The Kernel is the heart of the Symfony system.
Namespace
Symfony\Component\HttpKernel
Code
public function getCacheDir() {
return $this->rootDir . '/cache/' . $this->environment;
}