public function appendRoutes(ConfigObject $routes) { foreach ($routes as $name => $routeConfig) { self::$routeCollection->add($name, $this->loader->processRoute($routeConfig)); } return $this; }