src/Cache/FileCache.php
protected function generatePath()
    {
        $filesystem = new Filesystem();
        $path = $this->cacheFolder;
        $path = trim($path, '/');

        if (!empty($this->namespace)) {
            $path .= '/'.$this->namespace;
        }

        if (!$filesystem->exists($this->projectDir.'/'.$path)) {
            $filesystem->mkdir($this->projectDir.'/'.$path);
        }
        $this->cacheFolderWithNamespace = $path;
    }
protected function generatePath()
    {
        $filesystem = new Filesystem();
        $path = $this->cacheFolder;
        $path = trim($path, '/');

        if (!empty($this->namespace)) {
            $path .= '/'.$this->namespace;
        }

        if (!$filesystem->exists($this->projectDir.'/'.$path)) {
            $filesystem->mkdir($this->projectDir.'/'.$path);
        }
        $this->cacheFolderWithNamespace = $path;
    }
protected function generatePath ( ) { $ filesystem = new Filesystem ( ) ; $ path = $ this -> cacheFolder ; $ path = trim ( $ path , '/' ) ; if ( ! empty ( $ this -> namespace ) ) { $ path .= '/' . $ this -> namespace ; } if ( ! $ filesystem -> exists ( $ this -> projectDir . '/' . $ path ) ) { $ filesystem -> mkdir ( $ this -> projectDir . '/' . $ path ) ; } $ this -> cacheFolderWithNamespace = $ path ; }
Recreates the path to the current cache folder.
Recreates the path to the current cache folder .