public function setProxiesPath(string $proxiesPath)
    {
        if (!\file_exists($proxiesPath) || !\is_dir($proxiesPath) || !\is_writable($proxiesPath)) {
            throw new \RuntimeException(\sprintf('%s directory does not exist or is write protected', $proxiesPath));
        }

        $this->proxiesPath = $proxiesPath;

        return $this;
    }
public function setProxiesPath(string $proxiesPath)
    {
        if (!\file_exists($proxiesPath) || !\is_dir($proxiesPath) || !\is_writable($proxiesPath)) {
            throw new \RuntimeException(\sprintf('%s directory does not exist or is write protected', $proxiesPath));
        }

        $this->proxiesPath = $proxiesPath;

        return $this;
    }
public function setProxiesPath ( string $ proxiesPath ) { if ( ! \ file_exists ( $ proxiesPath ) || ! \ is_dir ( $ proxiesPath ) || ! \ is_writable ( $ proxiesPath ) ) { throw new \ RuntimeException ( \ sprintf ( '%s directory does not exist or is write protected' , $ proxiesPath ) ) ; } $ this -> proxiesPath = $ proxiesPath ; return $ this ; }
Set proxies path.

@param string $proxiesPath

@throws \RuntimeException

@return static
Set proxies path .