src/Webiny/Hrc/CacheStorage/FileSystem.php
private function getCachePath($cacheKey)
    {
        $folder = $this->cacheDir . substr($cacheKey, 0, 2) . DIRECTORY_SEPARATOR . substr($cacheKey, 2,
                2) . DIRECTORY_SEPARATOR . substr($cacheKey, 4, 2) . DIRECTORY_SEPARATOR;
        if (!is_dir($folder)) {
            mkdir($folder, 0755, true);
        }

        return $folder . $cacheKey;
    }
private function getCachePath($cacheKey)
    {
        $folder = $this->cacheDir . substr($cacheKey, 0, 2) . DIRECTORY_SEPARATOR . substr($cacheKey, 2,
                2) . DIRECTORY_SEPARATOR . substr($cacheKey, 4, 2) . DIRECTORY_SEPARATOR;
        if (!is_dir($folder)) {
            mkdir($folder, 0755, true);
        }

        return $folder . $cacheKey;
    }
private function getCachePath ( $ cacheKey ) { $ folder = $ this -> cacheDir . substr ( $ cacheKey , 0 , 2 ) . DIRECTORY_SEPARATOR . substr ( $ cacheKey , 2 , 2 ) . DIRECTORY_SEPARATOR . substr ( $ cacheKey , 4 , 2 ) . DIRECTORY_SEPARATOR ; if ( ! is_dir ( $ folder ) ) { mkdir ( $ folder , 0755 , true ) ; } return $ folder . $ cacheKey ; }
Creates the cache folder hierarchy and returns the full path to the given cache file.

@param string $cacheKey

@return string
Creates the cache folder hierarchy and returns the full path to the given cache file .