PathBuilder
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- link() : string
- resolvedLink() : string
- withoutLeadingSlash() : string
Properties
$relativePathToRootConverter read-only
private
RelativePathToRootConverter
$relativePathToRootConverter
$router read-only
private
Router
$router
Methods
__construct()
public
__construct(Router $router, RelativePathToRootConverter $relativePathToRootConverter) : mixed
Parameters
- $router : Router
- $relativePathToRootConverter : RelativePathToRootConverter
link()
public
link(Descriptor|Fqsen|Uri $value) : string
Parameters
- $value : Descriptor|Fqsen|Uri
Return values
stringresolvedLink()
public
resolvedLink(string $destination, Descriptor|Fqsen|Uri $value) : string
Parameters
- $destination : string
- $value : Descriptor|Fqsen|Uri
Return values
stringwithoutLeadingSlash()
private
withoutLeadingSlash(string $path) : string
Parameters
- $path : string