public function __construct(RouteCollection $routes, RouteHandlerFactory $route) { $this->routes = $routes; $this->route = $route; }