You are here

public function DynamicRouter::getContext in Zircon Profile 8

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

Gets the request context.

@api

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

2 calls to DynamicRouter::getContext()
DynamicRouter::getGenerator in vendor/symfony-cmf/routing/DynamicRouter.php
DynamicRouter::getMatcher in vendor/symfony-cmf/routing/DynamicRouter.php

File

vendor/symfony-cmf/routing/DynamicRouter.php, line 355

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