\phpDocumentor\Transformer\TemplateCollection

Contains a collection of Templates that may be queried.

Summary

Methods
Properties
Constants
__construct()
load()
getTransformations()
getTemplatesPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$factory
$writerCollection
N/A

Properties

Methods

load()

load(string  $nameOrPath) : void

Loads a template with the given name or file path.

Parameters

string $nameOrPath

getTransformations()

getTransformations() : array<mixed,\phpDocumentor\Transformer\Transformation>

Returns a list of all transformations contained in the templates of this collection.

Returns

array<mixed,\phpDocumentor\Transformer\Transformation>

getTemplatesPath()

getTemplatesPath() : string

Returns the path where all templates are stored.

Returns

string