TEMPLATE_DEFINITION_FILENAME
TEMPLATE_DEFINITION_FILENAME = 'template.xml'
$pathResolver : \phpDocumentor\Transformer\Template\PathResolver
__construct(\phpDocumentor\Transformer\Template\PathResolver $pathResolver, \JMS\Serializer\Serializer $serializer)
Constructs a new template factory with its dependencies.
\phpDocumentor\Transformer\Template\PathResolver | $pathResolver | |
\JMS\Serializer\Serializer | $serializer | Serializer used to convert the XML files to models. |
get(string $nameOrPath) : \phpDocumentor\Transformer\Template
Attempts to find, construct and return a template object with the given template name or (relative/absolute) path.
string | $nameOrPath |
createTemplateFromXml(string $xml) : \phpDocumentor\Transformer\Template
Creates and returns a template object based on the provided template definition.
string | $xml |