public static function getInstance() { if (self::$instance == null) { self::$instance = new TemplateHelper(); } return self::$instance; }
public static function init(TemplateHelperInterface $templateHelper) { self::$instance = new TemplateHelper($templateHelper); }