mini\Util\Path::resolve()
Method
public
static
Signature
public static function resolve(mini\Contracts\PathInterface|Stringable|string $basePath, mini\Contracts\PathInterface|Stringable|string $parts): ?mini\Contracts\PathInterface
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$basePath |
mini\Contracts\PathInterface|Stringable|string |
required | Documentation missing |
$parts |
mini\Contracts\PathInterface|Stringable|string |
optional | Documentation missing |
Returns
Documentation
Build a path and resolve it against the filesystem (realpath())
Convenience factory method that joins multiple path segments and then resolves the result against the actual filesystem using PHP's realpath() function.
This resolves symlinks, relative references, and validates that the path exists. Returns null if the path doesn't exist or is inaccessible.