phpDocumentor

EnvironmentFactory

Table of Contents

Properties

$extensions  : iterable<string|int, mixed>
$guidesTemplateBasePath  : array<string|int, mixed>
$markDownConverter  : ConverterInterface
$pathBuilder  : PathBuilder
$relativePathToRootConverter  : RelativePathToRootConverter
$renderer  : LinkRenderer
$templateOverridesAt  : Path|null

Methods

__construct()  : mixed
create()  : Environment
withTemplateOverridesAt()  : void
addPhpDocumentorExtension()  : void
Adds the phpDocumentor base extension to the Twig Environment.
enableDebug()  : void

Properties

$guidesTemplateBasePath read-only

private array<string|int, mixed> $guidesTemplateBasePath

Methods

__construct()

public __construct(LinkRenderer $renderer, ConverterInterface $markDownConverter, RelativePathToRootConverter $relativePathToRootConverter, PathBuilder $pathBuilder, iterable<string|int, ExtensionInterface$extensions, array<string|int, string> $guidesTemplateBasePath) : mixed
Parameters
$renderer : LinkRenderer
$markDownConverter : ConverterInterface
$relativePathToRootConverter : RelativePathToRootConverter
$pathBuilder : PathBuilder
$extensions : iterable<string|int, ExtensionInterface>
$guidesTemplateBasePath : array<string|int, string>

,

enableDebug()

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

        
On this page

Search results