Gets the HTTP host.
Return value
string The HTTP host
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContext.php, line 117
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\Routing
Code
public function getHost() {
return $this->host;
}