original_string: public function method( $is = null ) 
  	{
  		if ( !is_null( $is ) )
  		{
  			return strtoupper( $is ) === $this->method();
  		}
  		
  		return strtoupper( $this->server( 'HTTP_X_HTTP_METHOD_OVERRIDE', $this->server( 'REQUEST_METHOD', 'GET' ) ) );
  	}
code: public function method( $is = null ) 
  	{
  		if ( !is_null( $is ) )
  		{
  			return strtoupper( $is ) === $this->method();
  		}
  		
  		return strtoupper( $this->server( 'HTTP_X_HTTP_METHOD_OVERRIDE', $this->server( 'REQUEST_METHOD', 'GET' ) ) );
  	}
code_tokens: public function method ( $ is = null ) { if ( ! is_null ( $ is ) ) { return strtoupper ( $ is ) === $ this -> method ( ) ; } return strtoupper ( $ this -> server ( 'HTTP_X_HTTP_METHOD_OVERRIDE' , $ this -> server ( 'REQUEST_METHOD' , 'GET' ) ) ) ; }
docstring: get the current requesting method
  GET, POST, PUT, DELETE
  
  @param string			$is
  @return string
docstring_tokens: get the current requesting method GET POST PUT DELETE