phpDocumentor

EnvironmentFactory
in package

Table of Contents

$markDownConverter  : MarkdownConverterInterface
$renderer  : LinkRenderer
$templateOverridesAt  : Path|null
__construct()  : mixed
create()  : Environment
withTemplateOverridesAt()  : void
addPhpDocumentorExtension()  : void
Adds the phpDocumentor base extension to the Twig Environment.
enableDebug()  : void

Properties

Methods

__construct()

public __construct(LinkRenderer $renderer, MarkdownConverterInterface $markDownConverter) : mixed
Parameters
$renderer : LinkRenderer
$markDownConverter : MarkdownConverterInterface
Return values
mixed

withTemplateOverridesAt()

public withTemplateOverridesAt(Path $path) : void
Parameters
$path : Path
Return values
void

addPhpDocumentorExtension()

Adds the phpDocumentor base extension to the Twig Environment.

private addPhpDocumentorExtension(ProjectDescriptor $project, Environment $twigEnvironment) : void
Parameters
$project : ProjectDescriptor
$twigEnvironment : Environment
Return values
void

enableDebug()

private enableDebug(Environment $twigEnvironment) : void
Parameters
$twigEnvironment : Environment
Return values
void

Search results