Skip to content

Kirby 5.0.4

F::realpath()

Returns the absolute path to the file if the file can be found.

F::realpath(string $file, string|null $in = null): string

Parameters

Name Type Default
$filerequired string no default value
$in stringornull null

Return type

string

Parent class

Kirby\Filesystem\F