Skip to content

Kirby 4.5.0

Url::toObject()

Converts the Url to a Uri object

Url::toObject(?string $url = null): Kirby\Http\Uri

Parameters

Name Type Default
$url string|null null

Return type

Kirby\Http\Uri

Parent class

Kirby\Http\Url