Skip to content

Kirby 4.8.0

Dir::realpath()

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

Dir::realpath(string $dir, ?string $in = null): string

Parameters

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

Return type

string

Parent class

Kirby\Filesystem\Dir