Adds a route collection to the current set of routes (at the end of the current set).
public addCollection ( |
||
$collection | A RouteCollection instance | |
$prefix | string | An optional prefix to add before each pattern of the route collection |