Closed
Description
This still does not work with prefixes, it ends up writing the parameter to the UrlMatcher dump.
The routes end up working fine because the prefix is simply added to the pattern. However, in the PhpMatcherDumper, the prefix is obtained by using getPrefix() from the RouteCollection which has not been resolved, so any time there is more than one route you end up getting something like
if( 0 === strpos($pathinfo, '/%parameter_here%'){
The only thing I can see right now is added a setPrefix to RouteCollection, but that is very misleading because you can't exactly undo the route prefixes as it updates the patterns directly..
By @isometriks, from #4745 (comment)
Metadata
Metadata
Assignees
Labels
No labels