/app/cache/dev/twig/49/69/164b22aa413738389e21edc6a686.php
PHP | 124 lines | 101 code | 7 blank | 16 comment | 2 complexity | e7b5af239989423e574a5b6e281e5a4d MD5 | raw file
Possible License(s): Apache-2.0, LGPL-3.0, BSD-3-Clause, BSD-2-Clause
- <?php
- /* TwigBundle:Exception:traces.html.twig */
- class __TwigTemplate_4969164b22aa413738389e21edc6a686 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->parent = false;
- $this->blocks = array(
- );
- }
- protected function doDisplay(array $context, array $blocks = array())
- {
- // line 1
- echo "<div class=\"block\">
- ";
- // line 2
- if (((isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) > 0)) {
- // line 3
- echo " <h2>
- <span><small>[";
- // line 4
- echo twig_escape_filter($this->env, (((isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) - (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position"))) + 1), "html", null, true);
- echo "/";
- echo twig_escape_filter($this->env, ((isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) + 1), "html", null, true);
- echo "]</small></span>
- ";
- // line 5
- echo $this->env->getExtension('code')->abbrClass($this->getAttribute((isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception")), "class"));
- echo ": ";
- echo $this->env->getExtension('code')->formatFileFromText(nl2br(twig_escape_filter($this->env, $this->getAttribute((isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception")), "message"), "html", null, true)));
- echo "
- ";
- // line 6
- ob_start();
- // line 7
- echo " <a href=\"#\" onclick=\"toggle('traces_";
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "', 'traces'); switchIcons('icon_traces_";
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "_open', 'icon_traces_";
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "_close'); return false;\">
- <img class=\"toggle\" id=\"icon_traces_";
- // line 8
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "_close\" alt=\"-\" src=\"";
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_less.gif"), "html", null, true);
- echo "\" style=\"visibility: ";
- echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("visible") : ("hidden"));
- echo "\" />
- <img class=\"toggle\" id=\"icon_traces_";
- // line 9
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "_open\" alt=\"+\" src=\"";
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_more.gif"), "html", null, true);
- echo "\" style=\"visibility: ";
- echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("hidden") : ("visible"));
- echo "; margin-left: -18px\" />
- </a>
- ";
- echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
- // line 12
- echo " </h2>
- ";
- } else {
- // line 14
- echo " <h2>Stack Trace</h2>
- ";
- }
- // line 16
- echo "
- <a id=\"traces_link_";
- // line 17
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "\"></a>
- <ol class=\"traces list_exception\" id=\"traces_";
- // line 18
- echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
- echo "\" style=\"display: ";
- echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("block") : ("none"));
- echo "\">
- ";
- // line 19
- $context['_parent'] = (array) $context;
- $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception")), "trace"));
- foreach ($context['_seq'] as $context["i"] => $context["trace"]) {
- // line 20
- echo " <li>
- ";
- // line 21
- $this->env->loadTemplate("TwigBundle:Exception:trace.html.twig")->display(array("prefix" => (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "i" => (isset($context["i"]) ? $context["i"] : $this->getContext($context, "i")), "trace" => (isset($context["trace"]) ? $context["trace"] : $this->getContext($context, "trace"))));
- // line 22
- echo " </li>
- ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['i'], $context['trace'], $context['_parent'], $context['loop']);
- $context = array_merge($_parent, array_intersect_key($context, $_parent));
- // line 24
- echo " </ol>
- </div>
- ";
- }
- public function getTemplateName()
- {
- return "TwigBundle:Exception:traces.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 105 => 24, 98 => 22, 96 => 21, 93 => 20, 89 => 19, 83 => 18, 76 => 16, 72 => 14, 68 => 12, 50 => 8, 33 => 5, 27 => 4, 24 => 3, 22 => 2, 225 => 96, 216 => 90, 212 => 88, 205 => 84, 201 => 83, 196 => 80, 194 => 79, 191 => 78, 189 => 77, 186 => 76, 180 => 72, 178 => 71, 172 => 67, 163 => 63, 159 => 61, 157 => 60, 154 => 59, 147 => 55, 143 => 54, 138 => 51, 136 => 50, 132 => 48, 130 => 47, 127 => 46, 121 => 45, 118 => 44, 114 => 43, 104 => 36, 100 => 34, 95 => 31, 78 => 28, 75 => 27, 71 => 26, 63 => 24, 60 => 23, 58 => 9, 41 => 7, 34 => 11, 19 => 1, 94 => 39, 88 => 6, 81 => 40, 79 => 17, 59 => 22, 48 => 19, 39 => 6, 35 => 7, 31 => 6, 26 => 6, 21 => 1, 46 => 8, 43 => 7, 32 => 4, 29 => 3,);
- }
- }