/** * Load the routes * * @return $this */ protected function loadRoutes() { foreach (\Parable\DI\Container::get(\Routes::class)->get() as $name => $route) { $this->router->addRoute($name, $route); } return $this; }