public function getCacheDir()
    {
        $fileSystem = new Filesystem();
        $path = 'var/cache/assets/'.$this->name.'/';
        
        if (!$fileSystem->exists($path)) {
            $fileSystem->mkdir($path);
        }
        
        return $path;
    }
public function getCacheDir()
    {
        $fileSystem = new Filesystem();
        $path = 'var/cache/assets/'.$this->name.'/';
        
        if (!$fileSystem->exists($path)) {
            $fileSystem->mkdir($path);
        }
        
        return $path;
    }
public function getCacheDir ( ) { $ fileSystem = new Filesystem ( ) ; $ path = 'var/cache/assets/' . $ this -> name . '/' ; if ( ! $ fileSystem -> exists ( $ path ) ) { $ fileSystem -> mkdir ( $ path ) ; } return $ path ; }
Return the assets cache dir.

@return string
Return the assets cache dir .