Skip to content

Kirby 6.0.0

$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): Uri

Parameters

Name Type Default
$props arrayornull null

Return type

Kirby\Http\Uri

Parent class

Kirby\Http\Request