mini\Util\Path::realpath() Method

public

Signature

public function realpath(): ?mini\Contracts\PathInterface

Returns

?mini\Contracts\PathInterface

Documentation

Resolve path against filesystem (resolves symlinks, validates existence)

Uses PHP's realpath() to resolve this path against the actual filesystem. This resolves all symbolic links, relative references, and validates that the path exists and is accessible.

Returns null if the path doesn't exist or cannot be accessed.

Source

src/Util/Path.php:453-463