public function Url::getHost

Get the host part of the URL

Return value

string

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Url.php, line 199

Class

Url
Parses and generates URLs based on URL parts. In favor of performance, URL parts are not validated.

Namespace

Guzzle\Http

Code

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