Skip to content

Kirby 6.0.0

$asset->url()

Returns the absolute url for the file

$asset->url(): string|null

Return types

stringornull

Parent class

Kirby\Filesystem\Asset