Skip to content

Kirby 4.3.1

$asset->root()

Returns the given file path

$asset->root(): string|null

Return type

string|null

Parent class

Kirby\Filesystem\Asset