original_string: public function setMethod($method = self::GET)
  	{
  		if (in_array($method, $this->allowedMethods)) {
  			$this->method = $method;
  		} else {
  			throw new RuntimeException('Invalid method setted.');
  		}
  		
  		return $this;
  	}
code: public function setMethod($method = self::GET)
  	{
  		if (in_array($method, $this->allowedMethods)) {
  			$this->method = $method;
  		} else {
  			throw new RuntimeException('Invalid method setted.');
  		}
  		
  		return $this;
  	}
code_tokens: public function setMethod ( $ method = self :: GET ) { if ( in_array ( $ method , $ this -> allowedMethods ) ) { $ this -> method = $ method ; } else { throw new RuntimeException ( 'Invalid method setted.' ) ; } return $ this ; }
docstring: Set the request method to use
  
  @param string $method Recommended use of Client class constants
  @throws RuntimeException
  @return \Slice\Http\Client
docstring_tokens: Set the request method to use