Input::GetMethod PHP Méthode

GetMethod() public static méthode

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