original_string: public function connect() 
  	{
  		if($this->getResource()) {
  			$this->close();
  		}
  
  		$resource = curl_init();
  
  		curl_setopt($resource,CURLOPT_CONNECTTIMEOUT,$this->getTimeout());
  	
  		$this->setResource($resource);
  		parent::connect();
  		return $this;
  	}
code: public function connect() 
  	{
  		if($this->getResource()) {
  			$this->close();
  		}
  
  		$resource = curl_init();
  
  		curl_setopt($resource,CURLOPT_CONNECTTIMEOUT,$this->getTimeout());
  	
  		$this->setResource($resource);
  		parent::connect();
  		return $this;
  	}
code_tokens: public function connect ( ) { if ( $ this -> getResource ( ) ) { $ this -> close ( ) ; } $ resource = curl_init ( ) ; curl_setopt ( $ resource , CURLOPT_CONNECTTIMEOUT , $ this -> getTimeout ( ) ) ; $ this -> setResource ( $ resource ) ; parent :: connect ( ) ; return $ this ; }
docstring: Close all open connections and release all set variables
docstring_tokens: Close all open connections and release all set variables