Url::toObject() Converts the Url to a Uri object kirby/src/Http/Url.php#L245 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