I expected this piece of code
$collection = new RouteCollection(new Route('/collection-prefix'));
to prefix all routes belonging to that collection with /collection-prefix. However, the routes in $collection will not contain the base route prefix when added to the router.
Is this behavior expected?
I expected this piece of code
to prefix all routes belonging to that collection with
/collection-prefix. However, the routes in$collectionwill not contain the base route prefix when added to the router.Is this behavior expected?