Traverses children recursively to find a matching route. First looks
to see if a static (non-parametric, i.e. /this_is_static/ vs. /$this_is_dynamic/)
match exists. If not, we match against dynamic children. We reverse and step backwards
through the array because $index > 0 is less costly than $index < count($parts)
in PHP.
public findRouteFor ( Request $request ) : RoutingResult | ||
$request | Request | |
return | RoutingResult |