mini\Contracts\PathInterface::join() Method

public abstract

Signature

public abstract function join(mini\Contracts\PathInterface|Stringable|string $target): mini\Contracts\PathInterface

Parameters

Name Type Default Description
$target mini\Contracts\PathInterface|Stringable|string required Documentation missing

Returns

mini\Contracts\PathInterface

Documentation

Join a target path to this path (lexically) and return a new Path.

If $target is absolute, it usually overrides $this and is returned (canonicalized). If $target is relative, it is appended to $this and the result is lexically canonicalized (no filesystem access).

Source

src/Contracts/PathInterface.php:15