return $this->query;
} public function getFragment(): string
{ return $this->fragment;
} public function withScheme($scheme): UriInterface
{ $scheme =
$this->
filterScheme($scheme);
if ($this->scheme ===
$scheme) { return $this;
} $new =
clone $this;
$new->scheme =
$scheme;
$new->composedComponents = null;
$new->
removeDefaultPort();
$new->
validateState();