function KernelInterface::getCacheDir
Gets the cache directory.
Since Symfony 5.2, the cache directory should be used for caches that are written at runtime. For caches and artifacts that can be warmed at compile-time and deployed as read-only, use the new "build directory" returned by the {
See also
getBuildDir()} method.
1 method overrides KernelInterface::getCacheDir()
- Kernel::getCacheDir in vendor/
symfony/ http-kernel/ Kernel.php - Gets the cache directory.
File
-
vendor/
symfony/ http-kernel/ KernelInterface.php, line 120
Class
- KernelInterface
- The Kernel is the heart of the Symfony system.
Namespace
Symfony\Component\HttpKernelCode
public function getCacheDir() : string;