src/Modules/ManagerModule.php
protected function loadRoutes($path)
    {
        $this->app->config['router']['routes'] = array_merge($this->app->config['router']['routes'] ?? [], (require $path)['routes']);
    }
protected function loadRoutes($path)
    {
        $this->app->config['router']['routes'] = array_merge($this->app->config['router']['routes'] ?? [], (require $path)['routes']);
    }
Load router.

@param  string $path

@return void