PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/app/cache/dev/twig/a7/1a/ec30791c0f5603951ad08584ad84c81a4bfaf3c4529f0579c0d5ad2e8caa.php

https://github.com/djae138/symfony
PHP | 120 lines | 97 code | 7 blank | 16 comment | 2 complexity | 646396998db92eac7585a8745be29bc6 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /* TwigBundle:Exception:traces.html.twig */
  3. class __TwigTemplate_a71aec30791c0f5603951ad08584ad84c81a4bfaf3c4529f0579c0d5ad2e8caa extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<div class=\"block\">
  16. ";
  17. // line 2
  18. if (((isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) > 0)) {
  19. // line 3
  20. echo " <h2>
  21. <span><small>[";
  22. // line 4
  23. 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);
  24. echo "/";
  25. echo twig_escape_filter($this->env, ((isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")) + 1), "html", null, true);
  26. echo "]</small></span>
  27. ";
  28. // line 5
  29. echo $this->env->getExtension('code')->abbrClass($this->getAttribute((isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception")), "class"));
  30. echo ": ";
  31. 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)));
  32. echo "&nbsp;
  33. ";
  34. // line 6
  35. ob_start();
  36. // line 7
  37. echo " <a href=\"#\" onclick=\"toggle('traces-";
  38. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  39. echo "', 'traces'); switchIcons('icon-traces-";
  40. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  41. echo "-open', 'icon-traces-";
  42. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  43. echo "-close'); return false;\">
  44. <img class=\"toggle\" id=\"icon-traces-";
  45. // line 8
  46. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  47. echo "-close\" alt=\"-\" src=\"data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=\" style=\"display: ";
  48. echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("inline") : ("none"));
  49. echo "\" />
  50. <img class=\"toggle\" id=\"icon-traces-";
  51. // line 9
  52. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  53. echo "-open\" alt=\"+\" src=\"data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7\" style=\"display: ";
  54. echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("none") : ("inline"));
  55. echo "\" />
  56. </a>
  57. ";
  58. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  59. // line 12
  60. echo " </h2>
  61. ";
  62. } else {
  63. // line 14
  64. echo " <h2>Stack Trace</h2>
  65. ";
  66. }
  67. // line 16
  68. echo "
  69. <a id=\"traces-link-";
  70. // line 17
  71. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  72. echo "\"></a>
  73. <ol class=\"traces list-exception\" id=\"traces-";
  74. // line 18
  75. echo twig_escape_filter($this->env, (isset($context["position"]) ? $context["position"] : $this->getContext($context, "position")), "html", null, true);
  76. echo "\" style=\"display: ";
  77. echo (((0 == (isset($context["count"]) ? $context["count"] : $this->getContext($context, "count")))) ? ("block") : ("none"));
  78. echo "\">
  79. ";
  80. // line 19
  81. $context['_parent'] = (array) $context;
  82. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception")), "trace"));
  83. foreach ($context['_seq'] as $context["i"] => $context["trace"]) {
  84. // line 20
  85. echo " <li>
  86. ";
  87. // line 21
  88. $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"))));
  89. // line 22
  90. echo " </li>
  91. ";
  92. }
  93. $_parent = $context['_parent'];
  94. unset($context['_seq'], $context['_iterated'], $context['i'], $context['trace'], $context['_parent'], $context['loop']);
  95. $context = array_intersect_key($context, $_parent) + $_parent;
  96. // line 24
  97. echo " </ol>
  98. </div>
  99. ";
  100. }
  101. public function getTemplateName()
  102. {
  103. return "TwigBundle:Exception:traces.html.twig";
  104. }
  105. public function isTraitable()
  106. {
  107. return false;
  108. }
  109. public function getDebugInfo()
  110. {
  111. return array ( 94 => 22, 92 => 21, 89 => 20, 85 => 19, 79 => 18, 75 => 17, 72 => 16, 68 => 14, 64 => 12, 56 => 9, 50 => 8, 41 => 7, 24 => 3, 201 => 92, 199 => 91, 196 => 90, 187 => 84, 183 => 82, 173 => 74, 171 => 73, 168 => 72, 166 => 71, 163 => 70, 158 => 67, 156 => 66, 151 => 63, 142 => 59, 138 => 57, 136 => 56, 133 => 55, 123 => 47, 121 => 46, 117 => 44, 115 => 43, 112 => 42, 105 => 40, 101 => 24, 91 => 31, 86 => 28, 69 => 25, 66 => 24, 62 => 23, 51 => 20, 49 => 19, 39 => 6, 19 => 1, 98 => 40, 93 => 9, 88 => 6, 80 => 41, 78 => 40, 46 => 10, 44 => 9, 36 => 7, 32 => 12, 27 => 4, 22 => 2, 57 => 12, 54 => 21, 43 => 8, 40 => 8, 33 => 5, 30 => 3,);
  112. }
  113. }