You are here

public function UrlGenerator::getContext in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/routing/Generator/UrlGenerator.php \Symfony\Component\Routing\Generator\UrlGenerator::getContext()
  2. 8.0 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Generator/UrlGenerator.php \Symfony\Component\Routing\Generator\UrlGenerator::getContext()

Gets the request context.

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

File

vendor/symfony/routing/Generator/UrlGenerator.php, line 103

Class

UrlGenerator
UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters.

Namespace

Symfony\Component\Routing\Generator

Code

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