Skip to content

Kirby 4.1.2

$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