public function getTwigEnvironment() { return $this->twig; }
/** * Clear compiled Twig templates * @ignore */ public static function clearCompiledTemplates() { $twig = new Twig(); $twig->getTwigEnvironment()->clearTemplateCache(); }