interface WindowsPathFactoryInterface implements PathFactoryInterface
The interface implemented by path factories that create Windows paths.
Methods
PathInterface |
create(string $path)
Creates a new path instance from its string representation. |
from PathFactoryInterface |
PathInterface |
createFromAtoms(mixed<string> $atoms, boolean|null $isAbsolute = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms. |
from PathFactoryInterface |
WindowsPathInterface |
createFromDriveAndAtoms(mixed<string> $atoms, string|null $drive, boolean|null $isAbsolute = null, boolean|null $isAnchored = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms and a drive specifier. |
Details
in PathFactoryInterface at line 30
public PathInterface
create(string $path)
Creates a new path instance from its string representation.
in PathFactoryInterface 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.
at line 37
public WindowsPathInterface
createFromDriveAndAtoms(mixed<string> $atoms, string|null $drive, boolean|null $isAbsolute = null, boolean|null $isAnchored = null, boolean|null $hasTrailingSeparator = null)
Creates a new path instance from a set of path atoms and a drive specifier.