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