Sets the final matcher for the matching plan.
Parameters
FinalMatcherInterface $final The final matcher that will have to pick the route that will be used.:
Return value
NestedMatcher this object to have a fluent interface
File
- drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/NestedMatcher/NestedMatcher.php, line 108
Class
- NestedMatcher
- A more flexible approach to matching. The route collection to match against
can be dynamically determined based on the request and users can inject
their own filters or use a custom final matching strategy.
Namespace
Symfony\Cmf\Component\Routing\NestedMatcher
Code
public function setFinalMatcher(FinalMatcherInterface $final) {
$this->finalMatcher = $final;
return $this;
}