return $this->
getHost().':'.
$port;
} /**
* Returns the requested URI (path and query string).
*
* @return string The raw URI (i.e. not URI decoded)
*/
public function getRequestUri(): string
{ return $this->requestUri ??=
$this->
prepareRequestUri();
} /**
* 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.
*/
public function getSchemeAndHttpHost(): string
{ return $this->
getScheme().'://'.
$this->
getHttpHost();
}