public function Kernel::getCacheDir

Gets the cache directory.

@api

Return value

string The cache directory

Overrides KernelInterface::getCacheDir

5 calls to Kernel::getCacheDir()
Kernel::buildContainer in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Builds the service container.
Kernel::getKernelParameters in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Returns the kernel parameters.
Kernel::initializeContainer in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Initializes the service container.
Kernel::loadClassCache in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Loads the PHP class cache.
Kernel::setClassCache in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php
Used internally.

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;
}