Input::GetMethod PHP Method

GetMethod() public static method

Returns the method used to read the input data: GET, POST etc.
public static GetMethod ( ) : string
return string
    public static function GetMethod()
    {
        return $_SERVER['REQUEST_METHOD'];
    }