public function setTemplateParams($templateParams) { $this->templateParams = $templateParams; return $this; }