public function ChainMatcher::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/Routing/ChainMatcher.php, line 82
Definition of Drupal\Core\Routing\ChainMatcher.

Class

ChainMatcher
Aggregates multiple matchers together in series.

Namespace

Drupal\Core\Routing

Code

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