Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper::buildPrefixTree
Organizes the routes into a prefix tree.
Routes order is preserved such that traversing the tree will traverse the routes in the origin order.
Signature
private function buildPrefixTree(DumperCollection
$collection )
Parameters
$collection
— Symfony\Component\Routing\Matcher\Dumper\DumperCollection- A collection of routes
Returns
- DumperPrefixCollection