class UnixPathFactory extends PathFactory
A path factory that creates Unix path instances.
Methods
static PathFactoryInterface |
instance()
Get a static instance of this path factory. |
|
PathInterface |
create(string $path)
Creates a new path instance from its string representation. |
from PathFactory |
PathInterface |
createFromAtoms(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 31
static public PathFactoryInterface
instance()
Get a static instance of this path factory.
in PathFactory at line 47
public PathInterface
create(string $path)
Creates a new path instance from its string representation.
at line 51
public PathInterface
createFromAtoms(mixed<string> $atoms, boolean|null $isAbsolute = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms.