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 | string ornull |
null
|
Return type
string