interface PathFactoryInterface
The interface implemented by path factories.
Methods
PathInterface |
create(string $path)
Creates a new path instance from its string representation. |
|
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 30
public PathInterface
create(string $path)
Creates a new path instance from its string representation.
at line 43
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.