protected function addExtensions(Twig_Environment $twig) { $twig->addExtension(new Twig_Extension_Debug()); }