$uri->setHost()
$uri->setHost(?string $host = null): Kirby\Http\Uri
Parameters
Name | Type | Default |
---|---|---|
$host | string |null |
null |
Return type
This method does not modify the existing $uri
object but returns a new object with the changes applied. Learn more →