Phly\Http\RequestTrait::getMethod PHP Method

getMethod() public method

Retrieves the HTTP method of the request.
public getMethod ( ) : string
return string Returns the request method.
    public function getMethod()
    {
        return $this->method;
    }