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.
public function setFinalMatcher(FinalMatcherInterface $final);