Skip to content

Kirby 4.2.0

$asset->url()

Returns the absolute url for the file

$asset->url(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\Asset