Skip to content

Kirby 4.2.0

$environment->requestUrl()

Returns the current URL, including the request path and query

$environment->requestUrl(): string

Return type

string

Parent class

Kirby\Http\Environment