Sets the final matcher for the matching plan.
\Drupal\Core\Routing\FinalMatcherInterface $final: The matcher that will be called last to ensure only a single route is found.
\Drupal\Core\Routing\NestedMatcherInterface The current matcher.
Overrides NestedMatcherInterface::setFinalMatcher
public function setFinalMatcher(FinalMatcherInterface $final) {
$this->finalMatcher = $final;
return $this;
}