Symfony\Component\Routing\RouteCollection::addCollection
Adds a route collection at the end of the current set by appending all routes of the added collection.
Signature
public function addCollection(RouteCollection
$collection )
Parameters
$collection
— Symfony\Component\Routing\RouteCollection- A RouteCollection instance