$request->url()
Returns the current Uri object. If you pass props you can safely modify the Url with new parameters without destroying the original object.
$request->url(array|null $props = null): Kirby\Http\Uri
Parameters
| Name | Type | Default |
|---|---|---|
| $props | arrayornull |
null
|
Return type
This method modifies the existing $request object it is applied to and returns it again.