parent = array(); $this->blocks = array( 'title' => array($this, 'block_title'), 'body' => array($this, 'block_body'), ); } public function getParent(array $context) { $parent = "TwigBundle::layout.html.twig"; if ($parent instanceof Twig_Template) { $name = $parent->getTemplateName(); $this->parent[$name] = $parent; $parent = $name; } elseif (!isset($this->parent[$parent])) { $this->parent[$parent] = $this->env->loadTemplate($parent); } return $this->parent[$parent]; } protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = array()) { // line 4 echo " "; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'exception'), "message", array(), "any", false), "html"); echo " ("; echo twig_escape_filter($this->env, $this->getContext($context, 'status_code'), "html"); echo " "; echo twig_escape_filter($this->env, $this->getContext($context, 'status_text'), "html"); echo ") "; } // line 7 public function block_body($context, array $blocks = array()) { // line 8 echo " "; $this->env->loadTemplate("TwigBundle:Exception:exception.html.twig")->display($context); } public function getTemplateName() { return "TwigBundle:Exception:exception_full.html.twig"; } public function isTraitable() { return false; } }