public function __construct(RouteRepositoryInterface $routeRepository) { $this->routeRepository = $routeRepository; }