public function boot() { /** @var RouteCollection $routes */ $routes = $this->container->get(RouteCollection::class); $routes->addRoute(Route::get('/', HomeResponder::class)); }