public function getTemplateCode() { if (!$this->templateCode) { $this->templateCode = file_get_contents(__DIR__ . "/EuCookieLawNotice/template.html"); } return $this->templateCode; }