Skip to content

Kirby 6.0.1

$file->root()

Returns the given file path

$file->root(): string|null

Return types

stringornull

Parent class

Kirby\Filesystem\File