abstract class Path
A static utility class for constructing generic paths.
Do not use this class in type hints; use PathInterface instead.
Methods
static PathInterface |
fromString(string $path)
Creates a new path instance from its string representation. |
|
static PathInterface |
fromAtoms(mixed<string> $atoms, boolean|null $isAbsolute = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms. |
Details
at line 28
static public PathInterface
fromString(string $path)
Creates a new path instance from its string representation.
at line 43
static public PathInterface
fromAtoms(mixed<string> $atoms, boolean|null $isAbsolute = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms.