Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper::compileRoutes
Generates PHP code to match a RouteCollection with all its routes.
Signature
private function compileRoutes(RouteCollection
$routes,
Boolean
$supportsRedirections )
Parameters
$routes
— Symfony\Component\Routing\RouteCollection- A RouteCollection instance
$supportsRedirections
— object- Whether redirections are supported by the base class
Returns
- string
- PHP code