public function RequestContextAwareInterface::setContext

Sets the request context.

@api

Parameters

RequestContext $context The context:

6 methods override RequestContextAwareInterface::setContext()
ChainRouter::setContext in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php
Sets the request context.
DynamicRouter::setContext in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php
Sets the request context.
LegacyUrlMatcher::setContext in drupal/core/lib/Drupal/Core/LegacyUrlMatcher.php
Sets the request context.
Router::setContext in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Router.php
Sets the request context.
UrlGenerator::setContext in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php
Sets the request context.

... See full list

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContextAwareInterface.php, line 26

Class

RequestContextAwareInterface
@api

Namespace

Symfony\Component\Routing

Code

public function setContext(RequestContext $context);