TemplateBuilder
class TemplateBuilder
Properties
protected array | $templateGenerators |
Methods
__construct()
Constructor
string
build(string $siteId, array $siteConfig)
Generate and return a template for given site
string
getTemplate(array $config)
Generate and return a template based on given config
string
addSiteId(string $siteId, string $template)
Added the siteId value to given template in a data-s9e-mediaembed attribute
Details
at line 26
__construct()
Constructor
at line 40
string
build(string $siteId, array $siteConfig)
Generate and return a template for given site
at line 51
string
getTemplate(array $config)
Generate and return a template based on given config
at line 71
protected string
addSiteId(string $siteId, string $template)
Added the siteId value to given template in a data-s9e-mediaembed attribute