Input::GetMethod PHP Метод

GetMethod() публичный статический метод

Returns the method used to read the input data: GET, POST etc.
public static GetMethod ( ) : string
Результат string
    public static function GetMethod()
    {
        return $_SERVER['REQUEST_METHOD'];
    }