public function DynamicRouter::getContext

Gets the request context.

@api

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

2 calls to DynamicRouter::getContext()
DynamicRouter::getGenerator in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php
DynamicRouter::getMatcher in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php, line 309

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\Routing

Code

public function getContext() {
  return $this->context;
}