public function __construct($templateName = null) { $this->templateName = $templateName; $this->keyVal = array(); /** @var ConfigReader $conf */ $conf = ConfigReader::getInstance(); $this->templatePath = $conf->getTemplatePath(); $this->templateExtension = $conf->getTemplateExtension(); }