mini\Contracts\PathInterface::parent() Method

public abstract

Signature

public abstract function parent(): mini\Contracts\PathInterface

Returns

mini\Contracts\PathInterface

Documentation

Lexical parent of this path.

For non-root paths, this is the directory above. For the root path, implementations typically return the root itself.

Source

src/Contracts/PathInterface.php:23