Properties
$factory Line 31
private$factory : \phpDocumentor\Transformer\Template\Factory
$writerCollection Line 34
private$writerCollection : \phpDocumentor\Transformer\Writer\Collection
Methods
__construct() Line 39
Constructs this collection and requires a factory to load templates.
public__construct(Factory $factory, Collection $writerCollection) : mixed
load() Line 49
Loads a template with the given name or file path.
publicload(Transformer $transformer, string $nameOrPath) : void
getTransformations() Line 67
Returns a list of all transformations contained in the templates of this collection.
publicgetTransformations() : \phpDocumentor\Transformer\Transformation[]
Returns
\phpDocumentor\Transformer\Transformation[] —
getTemplatesPath() Line 82
Returns the path where all templates are stored.
publicgetTemplatesPath() : string