Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper::compilePrefixRoutes
Generates PHP code recursively to match a tree of routes
Signature
private function compilePrefixRoutes(DumperPrefixCollection
$collection,
[Boolean
$supportsRedirections = '',
[string
$parentPrefix = '']] )
Parameters
$collection
— Symfony\Component\Routing\Matcher\Dumper\DumperPrefixCollection- A DumperPrefixCollection instance
$supportsRedirections
— object- Whether redirections are supported by the base class
$parentPrefix
— string- Prefix of the parent collection
Returns
- string
- PHP code