You are here

public function UrlGenerator::getContext in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()
  2. 9 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::getContext()

File

core/lib/Drupal/Core/Routing/UrlGenerator.php, line 107

Class

UrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\Core\Routing

Code

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