public function UrlGenerator::getContext

Gets the request context.

@api

Return value

RequestContext The context

Overrides RequestContextAwareInterface::getContext

1 method overrides UrlGenerator::getContext()

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php, line 107

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