\phpDocumentor\Transformer\Writer\TwigPathBuilder

Summary

Methods
Properties
Constants
__construct()
link()
resolvedLink()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
withoutLeadingSlash()
$router
$relativePathToRootConverter
N/A

Properties

$router

$router : \phpDocumentor\Transformer\Router\Router

Type

\phpDocumentor\Transformer\Router\Router

$relativePathToRootConverter

$relativePathToRootConverter : \phpDocumentor\Transformer\Writer\Twig\RelativePathToRootConverter

Type

\phpDocumentor\Transformer\Writer\Twig\RelativePathToRootConverter

Methods

__construct()

__construct(\phpDocumentor\Transformer\Router\Router  $router, \phpDocumentor\Transformer\Writer\Twig\RelativePathToRootConverter  $relativePathToRootConverter) : mixed

Parameters

\phpDocumentor\Transformer\Router\Router $router
\phpDocumentor\Transformer\Writer\Twig\RelativePathToRootConverter $relativePathToRootConverter

Returns

mixed —

link()

link(\phpDocumentor\Descriptor\Descriptor|\phpDocumentor\Reflection\Fqsen|\League\Uri\Uri  $value) : string

Parameters

\phpDocumentor\Descriptor\Descriptor|\phpDocumentor\Reflection\Fqsen|\League\Uri\Uri $value

Returns

string —

resolvedLink()

resolvedLink(string  $destination, \phpDocumentor\Descriptor\Descriptor|\phpDocumentor\Reflection\Fqsen|\League\Uri\Uri  $value) : string

Parameters

string $destination
\phpDocumentor\Descriptor\Descriptor|\phpDocumentor\Reflection\Fqsen|\League\Uri\Uri $value

Returns

string —

withoutLeadingSlash()

withoutLeadingSlash(string  $path) : string

Parameters

string $path

Returns

string —