public function UriInterface::getHost in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/UriInterface.php \Psr\Http\Message\UriInterface::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.
See also
http://tools.ietf.org/html/rfc3986#section-3.2.2
2 methods override UriInterface::getHost()
- Uri::getHost in vendor/
zendframework/ zend-diactoros/ src/ Uri.php - Retrieve the host component of the URI.
- Uri::getHost in vendor/
guzzlehttp/ psr7/ src/ Uri.php - Retrieve the host component of the URI.
File
- vendor/
psr/ http-message/ src/ UriInterface.php, line 90
Class
- UriInterface
- Value object representing a URI.
Namespace
Psr\Http\MessageCode
public function getHost();