Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RequestContext.php

function RequestContext::setScheme

Sets the HTTP scheme.

Return value

$this

2 calls to RequestContext::setScheme()
RequestContext::fromRequest in vendor/symfony/routing/RequestContext.php
Updates the RequestContext information based on a HttpFoundation Request.
RequestContext::__construct in vendor/symfony/routing/RequestContext.php

File

vendor/symfony/routing/RequestContext.php, line 188

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function setScheme(string $scheme) : static {
    $this->scheme = strtolower($scheme);
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal