Properties
$renderer Line 30
private$renderer : \phpDocumentor\Transformer\Writer\Twig\LinkRenderer
$locator Line 33
private$locator : \phpDocumentor\Parser\Cache\Locator
$templateOverridesAt Line 36
private$templateOverridesAt : ?\phpDocumentor\Path
Methods
__construct() Line 38
public__construct(LinkRenderer $renderer, Locator $locator) : mixed
withTemplateOverridesAt() Line 44
publicwithTemplateOverridesAt(Path $path) : void
create() Line 49
publiccreate(ProjectDescriptor $project, Transformation $transformation, string $destination) : Environment
Parameters
Returns
Environment —
addPhpDocumentorExtension() Line 76
Adds the phpDocumentor base extension to the Twig Environment.
privateaddPhpDocumentorExtension(ProjectDescriptor $project, string $path, Environment $twigEnvironment) : void