Skip to content

Kirby 4.5.0

F::realpath()

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

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

Parameters

Name Type Default
$file * string
$in string|null null

Return type

string

Parent class

Kirby\Filesystem\F