static function MethodArray(RequestMethod $method, $name = '')
    {
        switch ($method)
        {
            case RequestMethod::Get():
                return self::GetArray($name);
            
            case RequestMethod::Post():
                return self::PostArray($name);
            
            default:
                throw new \InvalidArgumentException('Request::MethodArray is available for request methods POST and GET, only');
        }
    }