public function LegacyUrlMatcher::getContext

Gets the request context.

This method is just to satisfy the interface, and is largely vestigial. The request context object does not contain the information we need, so we will use the original request object.

Return value

Symfony\Component\Routing\RequestContext The context.

Overrides RequestContextAwareInterface::getContext

File

drupal/core/lib/Drupal/Core/LegacyUrlMatcher.php, line 70
Definition of Drupal\Core\LegacyUrlMatcher.

Class

LegacyUrlMatcher
UrlMatcher matches URL based on a set of routes.

Namespace

Drupal\Core

Code

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