interface RequestContextAwareInterface

@api

Hierarchy

Expanded class hierarchy of RequestContextAwareInterface

All classes that implement RequestContextAwareInterface

7 files declare their use of RequestContextAwareInterface
ChainRouter.php in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php
DynamicRouter.php in drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/DynamicRouter.php
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

... 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. 6
RequestContextAwareInterface::setContext public function Sets the request context. 6