public function enableStrictVariables() { $this->strictVariables = true; }
public function __construct() { //@todo: this is hardcode. we should move it to some templating component $loader = new TemplateLoader(); $this->twig = new \Twig_Environment($loader); $this->twig->enableStrictVariables(); }