Sets the request context.
@api
Parameters
RequestContext $context The context:
Overrides RequestContextAwareInterface::setContext
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/UrlMatcher.php, line 55
Class
- UrlMatcher
- UrlMatcher matches URL based on a set of routes.
Namespace
Symfony\Component\Routing\Matcher
Code
public function setContext(RequestContext $context) {
$this->context = $context;
}