Skip to content

Kirby 5.0.4

Dir::realpath()

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

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

Parameters

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

Return type

string

Parent class

Kirby\Filesystem\Dir