public function getMethod(bool $upper = false): string
	{
		return ($upper) ? strtoupper($this->method) : strtolower($this->method);
	}
public function getMethod(bool $upper = false): string
	{
		return ($upper) ? strtoupper($this->method) : strtolower($this->method);
	}
public function getMethod ( bool $ upper = false ) : string { return ( $ upper ) ? strtoupper ( $ this -> method ) : strtolower ( $ this -> method ) ; }
Get the request method. Overrides the Request class' method
since users expect a different answer here.

@param boolean|false $upper Whether to return in upper or lower case.

@return string
Get the request method . Overrides the Request class method since users expect a different answer here .