Sets the request context.
@api
RequestContext $context The context:
Overrides RequestContextAwareInterface::setContext
public function setContext(RequestContext $context) {
foreach ($this
->all() as $router) {
if ($router instanceof RequestContextAwareInterface) {
$router
->setContext($context);
}
}
$this->context = $context;
}