class WindowsPathFactory extends PathFactory implements WindowsPathFactoryInterface
A path factory that creates Windows path instances.
Methods
static WindowsPathFactoryInterface |
instance()
Get a static instance of this path factory. |
|
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. |
|
WindowsPathInterface |
createFromDriveAndAtoms(mixed<string> $atoms, string|null $drive = null, 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
at line 33
static public WindowsPathFactoryInterface
instance()
Get a static instance of this path factory.
at line 51
public PathInterface
create(string $path)
Creates a new path instance from its string representation.
at line 117
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 147
public WindowsPathInterface
createFromDriveAndAtoms(mixed<string> $atoms, string|null $drive = null, 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.