Skip to content

Kirby 4.4.1

$asset->path()

Returns the path of the file from the web root, excluding the filename

$asset->path(): string

Return type

string

Parent class

Kirby\Filesystem\Asset