Skip to content

Kirby 4.4.1

Url::makeAbsolute()

Convert a relative path into an absolute URL

Url::makeAbsolute(?string $path = null, ?string $home = null): string

Parameters

Name Type Default
$path string|null null
$home string|null null

Return type

string

Parent class

Kirby\Cms\Url inherited from Kirby\Http\Url