public function Router::getContext

Gets the request context.

@api

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Router.php, line 162

Class

Router
The Router class is an example of the integration of all pieces of the routing system for easier use.

Namespace

Symfony\Component\Routing

Code

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