addTemplate

addTemplate(String key, String path) function

Adds a template to the collection.

Parameters

NameTypeDescription
keyStringKey for the template in the collection.
pathStringPath to the template file.