mini\Contracts\PathInterface::parent()
Method
public
abstract
Signature
public abstract function parent(): mini\Contracts\PathInterface
Returns
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.