public function NestedMatcher::setRouteProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/NestedMatcher/NestedMatcher.php \Symfony\Cmf\Component\Routing\NestedMatcher\NestedMatcher::setRouteProvider()
Sets the route provider for the matching plan.
Parameters
RouteProviderInterface $provider A source of routes.:
Return value
NestedMatcher this object to have a fluent interface
1 call to NestedMatcher::setRouteProvider()
- NestedMatcher::__construct in vendor/
symfony-cmf/ routing/ NestedMatcher/ NestedMatcher.php - Constructs a new NestedMatcher
File
- vendor/
symfony-cmf/ routing/ NestedMatcher/ NestedMatcher.php, line 90
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\NestedMatcherCode
public function setRouteProvider(RouteProviderInterface $provider) {
$this->routeProvider = $provider;
return $this;
}