Skip to content

Kirby 6.0.0

$asset->root()

Returns the given file path

$asset->root(): string|null

Return types

stringornull

Parent class

Kirby\Filesystem\Asset