TEMPLATE_DEFINITION_FILENAME
TEMPLATE_DEFINITION_FILENAME = 'template.xml'
$flySystemFactory : \phpDocumentor\Parser\FlySystemFactory
$globalTemplatesPath : string
$writerCollection : \phpDocumentor\Transformer\Writer\Collection
__construct(\phpDocumentor\Transformer\Writer\Collection $writerCollection, \phpDocumentor\Parser\FlySystemFactory $flySystemFactory, string $globalTemplatesPath) : mixed
Constructs a new template factory with its dependencies.
\phpDocumentor\Transformer\Writer\Collection | $writerCollection | |
\phpDocumentor\Parser\FlySystemFactory | $flySystemFactory | |
string | $globalTemplatesPath |
getTemplates(array $templates, \League\Flysystem\FilesystemInterface $output) : \phpDocumentor\Transformer\Template\Collection
Attempts to find, construct and return a template object with the given template name or (relative/absolute) path.
array | $templates | |
\League\Flysystem\FilesystemInterface | $output |
loadTemplate(\League\Flysystem\FilesystemInterface $output, string $template, array<string,string> $parameters) : \phpDocumentor\Transformer\Template
\League\Flysystem\FilesystemInterface | $output | |
string | $template | |
array |
$parameters |
createTemplateFromXml(\League\Flysystem\FilesystemInterface $filesystem, string $nameOrPath, array<string,string> $templateParams) : \phpDocumentor\Transformer\Template
Creates and returns a template object based on the provided template definition.
\League\Flysystem\FilesystemInterface | $filesystem | |
string | $nameOrPath | |
array |
$templateParams |