You are here

public function Router::getContext in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Router.php \Symfony\Component\Routing\Router::getContext()

Gets the request context.

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

File

vendor/symfony/routing/Router.php, line 214

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;
}