src/Router.php
static function instance(string $name) : self {
        if (!isset(self::$routers[$name]))
            Console::fatal("Router \"$name\" do not exist.");
        return self::$routers[$name];
    }
static function instance(string $name) : self {
        if (!isset(self::$routers[$name]))
            Console::fatal("Router \"$name\" do not exist.");
        return self::$routers[$name];
    }
static function instance ( string $ name ) : self { if ( ! isset ( self :: $ routers [ $ name ] ) ) Console :: fatal ( "Router \"$name\" do not exist." ) ; return self :: $ routers [ $ name ] ; }
获取路由实例

@param string $name
@return Router
获取路由实例