public function NestedMatcherInterface::setFinalMatcher

Sets the final matcher for the matching plan.

Parameters

\Drupal\Core\Routing\FinalMatcherInterface $final: The matcher that will be called last to ensure only a single route is found.

Return value

\Drupal\Core\Routing\NestedMatcherInterface The current matcher.

1 method overrides NestedMatcherInterface::setFinalMatcher()
NestedMatcher::setFinalMatcher in drupal/core/lib/Drupal/Core/Routing/NestedMatcher.php
Sets the final matcher for the matching plan.

File

drupal/core/lib/Drupal/Core/Routing/NestedMatcherInterface.php, line 57
Definition of Drupal\Core\Routing\NestedMatcherInterface.

Class

NestedMatcherInterface
A NestedMatcher allows for multiple-stage resolution of a route.

Namespace

Drupal\Core\Routing

Code

public function setFinalMatcher(FinalMatcherInterface $final);