original_string: public function setHTTPVersion($version = self::HTTP_1)
  	{
  		if ($version == self::HTTP_0 || $version == self::HTTP_1) {
  			$this->httpVersion = $version;
  		} else {
  			throw new RuntimeException('Invalid HTTP version setted.');
  		}
  		
  		return $this;
  	}
code: public function setHTTPVersion($version = self::HTTP_1)
  	{
  		if ($version == self::HTTP_0 || $version == self::HTTP_1) {
  			$this->httpVersion = $version;
  		} else {
  			throw new RuntimeException('Invalid HTTP version setted.');
  		}
  		
  		return $this;
  	}
code_tokens: public function setHTTPVersion ( $ version = self :: HTTP_1 ) { if ( $ version == self :: HTTP_0 || $ version == self :: HTTP_1 ) { $ this -> httpVersion = $ version ; } else { throw new RuntimeException ( 'Invalid HTTP version setted.' ) ; } return $ this ; }
docstring: Set HTTP protocol version for request
  
  @param integer $version
  @throws RuntimeException
  @return \Slice\Http\Client
docstring_tokens: Set HTTP protocol version for request