$routeRenderer
$routeRenderer : \phpDocumentor\Transformer\Writer\Twig\LinkRenderer
Basic extension adding phpDocumentor specific functionality for Twig templates.
Global variables:
Functions:
Filters:
$routeRenderer : \phpDocumentor\Transformer\Writer\Twig\LinkRenderer
__construct(\phpDocumentor\Descriptor\ProjectDescriptor $project, \League\CommonMark\MarkdownConverterInterface $markdownConverter, \phpDocumentor\Transformer\Writer\Twig\LinkRenderer $routeRenderer) : mixed
Registers the structure and transformation with this extension.
\phpDocumentor\Descriptor\ProjectDescriptor | $project | Represents the complete Abstract Syntax Tree. |
\League\CommonMark\MarkdownConverterInterface | $markdownConverter | |
\phpDocumentor\Transformer\Writer\Twig\LinkRenderer | $routeRenderer |
getFunctions() : \Twig\TwigFunction[]
Returns a listing of all functions that this extension adds.
This method is automatically used by Twig upon registering this extension (which is done automatically by phpDocumentor) to determine an additional list of functions.
See the Class' DocBlock for a listing of functionality added by this Extension.
renderRoute(array $context, \phpDocumentor\Reflection\Type[]|\phpDocumentor\Reflection\Type|\phpDocumentor\Descriptor\DescriptorAbstract|\phpDocumentor\Reflection\Fqsen|\phpDocumentor\Reflection\DocBlock\Tags\Reference\Reference|\phpDocumentor\Path|string|iterable $value, string $presentation) : string[]|string
array | $context | |
\phpDocumentor\Reflection\Type[]|\phpDocumentor\Reflection\Type|\phpDocumentor\Descriptor\DescriptorAbstract|\phpDocumentor\Reflection\Fqsen|\phpDocumentor\Reflection\DocBlock\Tags\Reference\Reference|\phpDocumentor\Path|string|iterable | $value | |
string | $presentation |