protected function registerRouteCollection(Router $router) { $router->setRoutes(new RouteCollection()); }