Symfony\Component\HttpFoundation\Request::getSchemeAndHttpHost
Gets the scheme and HTTP host.
If the URL was called with basic authentication, the user and the password are not added to the generated string.
Signature
public function getSchemeAndHttpHost()
Returns
- string
- The scheme and HTTP host