original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Set proxies path.
  
  @param string $proxiesPath
  
  @throws \RuntimeException
  
  @return static
docstring_tokens: Set proxies path .