protected function render($template, $parameters) { $twig = $this->getTwigEnvironment(); return $twig->render($template, $parameters); }