class FixedBasePathResolver implements PathResolverInterface
A path resolver that wraps another path resolver with a fixed base path.
Methods
__construct(AbsolutePathInterface $basePath, BasePathResolverInterface $resolver = null)
Construct a new fixed base path resolver. |
||
basePath()
Get the base path used by this resolver. |
||
resolver()
Get the base path resolver used internally by this resolver. |
||
AbsolutePathInterface |
resolve(PathInterface $path)
Resolve a path against the base path. |
Details
at line 28
public
__construct(AbsolutePathInterface $basePath, BasePathResolverInterface $resolver = null)
Construct a new fixed base path resolver.
at line 45
public
basePath()
Get the base path used by this resolver.
at line 55
public
resolver()
Get the base path resolver used internally by this resolver.
at line 67
public AbsolutePathInterface
resolve(PathInterface $path)
Resolve a path against the base path.