Retrieves the HTTP method of the request.
string Returns the request method.
public function getMethod() : string;