5be6ba87aa07a1527b83e6bc6800.php 4.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?php
  2. /* TwigBundle:Exception:trace.html.twig */
  3. class __TwigTemplate_cbbb5be6ba87aa07a1527b83e6bc6800 extends Twig_Template
  4. {
  5. protected function doDisplay(array $context, array $blocks = array())
  6. {
  7. $context = array_merge($this->env->getGlobals(), $context);
  8. // line 1
  9. if ($this->getAttribute($this->getContext($context, 'trace'), "function", array(), "any", false)) {
  10. // line 2
  11. echo " at
  12. <strong>
  13. <abbr title=\"";
  14. // line 4
  15. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'trace'), "class", array(), "any", false), "html");
  16. echo "\">";
  17. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, 'trace'), "short_class", array(), "any", false), "html");
  18. echo "</abbr>
  19. ";
  20. // line 5
  21. echo twig_escape_filter($this->env, ($this->getAttribute($this->getContext($context, 'trace'), "type", array(), "any", false) . $this->getAttribute($this->getContext($context, 'trace'), "function", array(), "any", false)), "html");
  22. echo "
  23. </strong>
  24. (";
  25. // line 7
  26. echo $this->env->getExtension('code')->formatArgs($this->getAttribute($this->getContext($context, 'trace'), "args", array(), "any", false));
  27. echo ")
  28. <br />
  29. ";
  30. }
  31. // line 10
  32. echo "
  33. ";
  34. // line 11
  35. if (($this->getAttribute(((array_key_exists("trace", $context)) ? (twig_default_filter($this->getContext($context, 'trace'))) : ("")), "file", array(), "any", true) && $this->getAttribute(((array_key_exists("trace", $context)) ? (twig_default_filter($this->getContext($context, 'trace'))) : ("")), "line", array(), "any", true))) {
  36. // line 12
  37. echo " in ";
  38. echo $this->env->getExtension('code')->formatFile($this->getAttribute($this->getContext($context, 'trace'), "file", array(), "any", false), $this->getAttribute($this->getContext($context, 'trace'), "line", array(), "any", false));
  39. echo "&nbsp;
  40. ";
  41. // line 13
  42. ob_start();
  43. // line 14
  44. echo " <a href=\"#\" onclick=\"toggle('trace_";
  45. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  46. echo "'); switchIcons('icon_";
  47. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  48. echo "_open', 'icon_";
  49. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  50. echo "_close'); return false;\">
  51. <img class=\"toggle\" id=\"icon_";
  52. // line 15
  53. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  54. echo "_close\" alt=\"-\" src=\"";
  55. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_less.gif"), "html");
  56. echo "\" style=\"visibility: ";
  57. echo (((0 == $this->getContext($context, 'i'))) ? ("display") : ("hidden"));
  58. echo "\" />
  59. <img class=\"toggle\" id=\"icon_";
  60. // line 16
  61. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  62. echo "_open\" alt=\"+\" src=\"";
  63. echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/images/blue_picto_more.gif"), "html");
  64. echo "\" style=\"visibility: ";
  65. echo (((0 == $this->getContext($context, 'i'))) ? ("hidden") : ("display"));
  66. echo "; margin-left: -18px\" />
  67. </a>
  68. ";
  69. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  70. // line 19
  71. echo " <div id=\"trace_";
  72. echo twig_escape_filter($this->env, (($this->getContext($context, 'prefix') . "_") . $this->getContext($context, 'i')), "html");
  73. echo "\" style=\"display: ";
  74. echo (((0 == $this->getContext($context, 'i'))) ? ("block") : ("none"));
  75. echo "\" class=\"trace\">
  76. ";
  77. // line 20
  78. echo $this->env->getExtension('code')->fileExcerpt($this->getAttribute($this->getContext($context, 'trace'), "file", array(), "any", false), $this->getAttribute($this->getContext($context, 'trace'), "line", array(), "any", false));
  79. echo "
  80. </div>
  81. ";
  82. }
  83. }
  84. public function getTemplateName()
  85. {
  86. return "TwigBundle:Exception:trace.html.twig";
  87. }
  88. public function isTraitable()
  89. {
  90. return false;
  91. }
  92. }