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