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