public function Request::getSchemeAndHttpHost

Gets the scheme and HTTP host.

Return value

string The scheme and HTTP host

3 calls to Request::getSchemeAndHttpHost()

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php, line 800

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getSchemeAndHttpHost() {
  return $this
    ->getScheme() . '://' . ('' != ($auth = $this
    ->getUserInfo()) ? $auth . '@' : '') . $this
    ->getHttpHost();
}