public function Uri::getHost in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::getHost()
- 8 vendor/zendframework/zend-feed/src/Uri.php \Zend\Feed\Uri::getHost()
- 8 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::getHost()
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::getHost()
Retrieve the host component of the URI.
If no host is present, this method MUST return an empty string.
The value returned MUST be normalized to lowercase, per RFC 3986 Section 3.2.2.
Return value
string The URI host.
Overrides UriInterface::getHost
See also
http://tools.ietf.org/html/rfc3986#section-3.2.2
File
- vendor/
guzzlehttp/ psr7/ src/ Uri.php, line 297
Class
- Uri
- Basic PSR-7 URI implementation.
Namespace
GuzzleHttp\Psr7Code
public function getHost() {
return $this->host;
}