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/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\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/
zendframework/ zend-diactoros/ src/ Uri.php, line 179
Class
- Uri
- Implementation of Psr\Http\UriInterface.
Namespace
Zend\DiactorosCode
public function getHost() {
return $this->host;
}