class UnixPathNormalizer extends PathNormalizer
A path normalizer suitable for normalizing Unix paths.
Methods
static PathNormalizerInterface |
instance()
Get a static instance of this path normalizer. |
|
__construct(PathFactoryInterface $factory = null)
Construct a new path normalizer. |
||
PathFactoryInterface |
factory()
Get the path factory used by this normalizer. |
from PathNormalizer |
PathInterface |
normalize(PathInterface $path)
Normalize the supplied path to its most canonical form. |
from PathNormalizer |
Details
at line 29
static public PathNormalizerInterface
instance()
Get a static instance of this path normalizer.
at line 43
public
__construct(PathFactoryInterface $factory = null)
Construct a new path normalizer.
in PathNormalizer at line 59
public PathFactoryInterface
factory()
Get the path factory used by this normalizer.
in PathNormalizer at line 71
public PathInterface
normalize(PathInterface $path)
Normalize the supplied path to its most canonical form.