Skip to content

Kirby 4.5.0

Url::to()

Smart resolver for internal and external urls

Url::to(?string $path = null, ?array $options = null): string

Parameters

Name Type Default
$path string|null null
$options array|null null

Return type

string

Parent class

Kirby\Http\Url