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