src/services/Path.php
public function getCachePath(): string
    {
        $path = $this->getRuntimePath() . DIRECTORY_SEPARATOR . 'cache';
        FileHelper::createDirectory($path);
        return $path;
    }
public function getCachePath(): string
    {
        $path = $this->getRuntimePath() . DIRECTORY_SEPARATOR . 'cache';
        FileHelper::createDirectory($path);
        return $path;
    }
public function getCachePath ( ) : string { $ path = $ this -> getRuntimePath ( ) . DIRECTORY_SEPARATOR . 'cache' ; FileHelper :: createDirectory ( $ path ) ; return $ path ; }
Returns the path to the file cache directory.

This will be located at `@runtime/cache/` by default, but that can be overridden with the 'cachePath'.

@return string
@throws Exception
Returns the path to the file cache directory .