interface RequestContextAwareInterface

@api

Hierarchy

Expanded class hierarchy of RequestContextAwareInterface

All classes that implement RequestContextAwareInterface

6 files declare their use of RequestContextAwareInterface
ChainMatcher.php in drupal/core/lib/Drupal/Core/Routing/ChainMatcher.php
Definition of Drupal\Core\Routing\ChainMatcher.
LegacyUrlMatcher.php in drupal/core/lib/Drupal/Core/LegacyUrlMatcher.php
Definition of Drupal\Core\LegacyUrlMatcher.
LocaleListener.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/LocaleListener.php
RouterListener.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php
UrlGeneratorInterface.php in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php

... See full list

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContextAwareInterface.php, line 17

Namespace

Symfony\Component\Routing
View source
interface RequestContextAwareInterface {

  /**
   * Sets the request context.
   *
   * @param RequestContext $context The context
   *
   * @api
   */
  public function setContext(RequestContext $context);

  /**
   * Gets the request context.
   *
   * @return RequestContext The context
   *
   * @api
   */
  public function getContext();

}

Members

Namesort descending Modifiers Type Description Overrides
RequestContextAwareInterface::getContext public function Gets the request context. 5
RequestContextAwareInterface::setContext public function Sets the request context. 5