Reference

F::realpath()

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

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

Parameters

Name Type Default Description
$file string
$in string null

Return type

string|null

Source code

kirby/src/Toolkit/F.php#L535