parent = array(); $this->blocks = array( 'head' => array($this, 'block_head'), 'menu' => array($this, 'block_menu'), 'panel' => array($this, 'block_panel'), ); } public function getParent(array $context) { $parent = "WebProfilerBundle:Profiler: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_head($context, array $blocks = array()) { // line 4 echo " env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/css/exception.css"), "html"); echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /> "; // line 5 echo $this->renderParentBlock("head", $context, $blocks); echo " "; } // line 8 public function block_menu($context, array $blocks = array()) { // line 9 echo " env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/exception.png"), "html"); echo "\" alt=\"Exception\" /> Exception "; // line 13 if ($this->getAttribute($this->getContext($context, 'collector'), "hasexception", array(), "any", false)) { // line 14 echo " 1 "; } // line 16 echo " "; } // line 20 public function block_panel($context, array $blocks = array()) { // line 21 echo "

Exception

"; // line 23 if ((!$this->getAttribute($this->getContext($context, 'collector'), "hasexception", array(), "any", false))) { // line 24 echo "

No exception was thrown and uncaught during the request.

"; } else { // line 28 echo " "; echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Exception:show", array("exception" => $this->getAttribute($this->getContext($context, 'collector'), "exception", array(), "any", false), "format" => "html"), array()); // line 29 echo " "; } } public function getTemplateName() { return "WebProfilerBundle:Collector:exception.html.twig"; } public function isTraitable() { return false; } }