Skip to content

Kirby 5.1.2

$file->path()

Returns the full path without leading slash

$file->path(): string

Return type

string

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Panel\File