Adds additional routes to be dumped.
Symfony\Component\Routing\RouteCollection $routes: A collection of routes to add to this dumper.
public function addRoutes(RouteCollection $routes) {
if (empty($this->routes)) {
$this->routes = $routes;
}
else {
$this->routes
->addCollection($routes);
}
}