public function DynamicRouter::setContext in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/DynamicRouter.php \Symfony\Cmf\Component\Routing\DynamicRouter::setContext()
Sets the request context.
@api
Parameters
RequestContext $context The context:
Overrides RequestContextAwareInterface::setContext
File
- vendor/
symfony-cmf/ routing/ DynamicRouter.php, line 343
Class
- DynamicRouter
- A flexible router accepting matcher and generator through injection and using the RouteEnhancer concept to generate additional data on the routes.
Namespace
Symfony\Cmf\Component\RoutingCode
public function setContext(RequestContext $context) {
$this->context = $context;
}