$uri->setHost()
$uri->setHost(string|null $host = null): Kirby\Http\Uri
Parameters
| Name | Type | Default |
|---|---|---|
| $host | stringornull |
null
|
Return type
This method modifies the existing $uri object it is applied to and returns it again.