src/Fetchers/SerpFetcher.php
public function setCacheDir($dir)
    {
        if (GenericValidator::validateDirName($dir)) {
            $this->cacheDir = $dir;
            FileSystemHelper::setUpDir($dir);
            return true;
        }
        return false;
    }
public function setCacheDir($dir)
    {
        if (GenericValidator::validateDirName($dir)) {
            $this->cacheDir = $dir;
            FileSystemHelper::setUpDir($dir);
            return true;
        }
        return false;
    }
public function setCacheDir ( $ dir ) { if ( GenericValidator :: validateDirName ( $ dir ) ) { $ this -> cacheDir = $ dir ; FileSystemHelper :: setUpDir ( $ dir ) ; return true ; } return false ; }
Set the path to the cache folder.
@param  string $dir
@return bool
Set the path to the cache folder .