class RequestContext

Holds information about the current request.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of RequestContext

16 files declare their use of RequestContext

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContext.php, line 23

Namespace

Symfony\Component\Routing
View source

Members

Namesort descending Modifiers Type Description Overrides
RequestContext::$baseUrl private property
RequestContext::$host private property
RequestContext::$httpPort private property
RequestContext::$httpsPort private property
RequestContext::$method private property
RequestContext::$parameters private property
RequestContext::$scheme private property
RequestContext::fromRequest public function
RequestContext::getBaseUrl public function Gets the base URL.
RequestContext::getHost public function Gets the HTTP host.
RequestContext::getHttpPort public function Gets the HTTP port.
RequestContext::getHttpsPort public function Gets the HTTPS port.
RequestContext::getMethod public function Gets the HTTP method.
RequestContext::getParameter public function Gets a parameter value.
RequestContext::getParameters public function Returns the parameters.
RequestContext::getScheme public function Gets the HTTP scheme.
RequestContext::hasParameter public function Checks if a parameter value is set for the given parameter.
RequestContext::setBaseUrl public function Sets the base URL.
RequestContext::setHost public function Sets the HTTP host.
RequestContext::setHttpPort public function Sets the HTTP port.
RequestContext::setHttpsPort public function Sets the HTTPS port.
RequestContext::setMethod public function Sets the HTTP method.
RequestContext::setParameter public function Sets a parameter value.
RequestContext::setParameters public function Sets the parameters.
RequestContext::setScheme public function Sets the HTTP scheme.
RequestContext::__construct public function Constructor.