You are here

public function RequestContext::getHost in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/RequestContext.php \Symfony\Component\Routing\RequestContext::getHost()

Gets the HTTP host.

The host is always lowercased because it must be treated case-insensitive.

Return value

string The HTTP host

File

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

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function getHost() {
  return $this->host;
}