Retrieve the host component of the URI.
string
Example:
$uri = new \Shieldon\Psr7\Uri( 'https://terry:1234@example.com:8888/phpMyAdmin/' ); echo $uri->getHost(); // Outputs: example.com
There was an error while loading. Please reload this page.