var/cache/dev/twig/5b/5be99af7e33c47bb28ba755b66d1aa45dbeed17e6b70ca2d3b3c9505d9e6760a.php line 123

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Twig/Exception/traces.html.twig */
  14. class __TwigTemplate_dfb3fca7cd120d89dd76f44a32462893c77c0026a188d6dffd86738cc82ffe77 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Twig/Exception/traces.html.twig"));
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Twig/Exception/traces.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Twig/Exception/traces.html.twig"));
  35.         // line 1
  36.         echo "<div class=\"trace trace-as-html\" id=\"trace-box-";
  37.         echo twig_escape_filter($this->env, (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'1$this->source); })()), "html"nulltrue);
  38.         echo "\">
  39.     <div class=\"trace-details\">
  40.         <div class=\"trace-head\">
  41.             <span class=\"sf-toggle\" data-toggle-selector=\"#trace-html-";
  42.         // line 4
  43.         echo twig_escape_filter($this->env, (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'4$this->source); })()), "html"nulltrue);
  44.         echo "\" data-toggle-initial=\"";
  45.         echo (((isset($context["expand"]) || array_key_exists("expand"$context) ? $context["expand"] : (function () { throw new RuntimeError('Variable "expand" does not exist.'4$this->source); })())) ? ("display") : (""));
  46.         echo "\">
  47.                 <h3 class=\"trace-class\">
  48.                     <span class=\"icon icon-close\">";
  49.         // line 6
  50.         echo twig_include($this->env$context"@Twig/images/icon-minus-square-o.svg");
  51.         echo "</span>
  52.                     <span class=\"icon icon-open\">";
  53.         // line 7
  54.         echo twig_include($this->env$context"@Twig/images/icon-plus-square-o.svg");
  55.         echo "</span>
  56.                     <span class=\"trace-namespace\">
  57.                         ";
  58.         // line 10
  59.         echo twig_escape_filter($this->envtwig_join_filter(twig_slice($this->envtwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'10$this->source); })()), "class", [], "any"falsefalsefalse10), "\\"), 0,  -1), "\\"), "html"nulltrue);
  60.         // line 11
  61.         echo (((twig_length_filter($this->envtwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'11$this->source); })()), "class", [], "any"falsefalsefalse11), "\\")) > 1)) ? ("\\") : (""));
  62.         echo "
  63.                     </span>
  64.                     ";
  65.         // line 13
  66.         echo twig_escape_filter($this->envtwig_last($this->envtwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'13$this->source); })()), "class", [], "any"falsefalsefalse13), "\\")), "html"nulltrue);
  67.         echo "
  68.                 </h3>
  69.                 ";
  70.         // line 16
  71.         if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'16$this->source); })()), "message", [], "any"falsefalsefalse16)) && ((isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'16$this->source); })()) > 1))) {
  72.             // line 17
  73.             echo "                    <p class=\"break-long-words trace-message\">";
  74.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'17$this->source); })()), "message", [], "any"falsefalsefalse17), "html"nulltrue);
  75.             echo "</p>
  76.                 ";
  77.         }
  78.         // line 19
  79.         echo "            </span>
  80.         </div>
  81.         <div id=\"trace-html-";
  82.         // line 22
  83.         echo twig_escape_filter($this->env, (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'22$this->source); })()), "html"nulltrue);
  84.         echo "\" class=\"sf-toggle-content\">
  85.         ";
  86.         // line 23
  87.         $context["_is_first_user_code"] = true;
  88.         // line 24
  89.         echo "        ";
  90.         $context['_parent'] = $context;
  91.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["exception"]) || array_key_exists("exception"$context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.'24$this->source); })()), "trace", [], "any"falsefalsefalse24));
  92.         foreach ($context['_seq'] as $context["i"] => $context["trace"]) {
  93.             // line 25
  94.             echo "            ";
  95.             $context["_is_vendor_trace"] = ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse25)) && (twig_in_filter("/vendor/"twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse25)) || twig_in_filter("/var/cache/"twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse25))));
  96.             // line 26
  97.             echo "            ";
  98.             $context["_display_code_snippet"] = ((isset($context["_is_first_user_code"]) || array_key_exists("_is_first_user_code"$context) ? $context["_is_first_user_code"] : (function () { throw new RuntimeError('Variable "_is_first_user_code" does not exist.'26$this->source); })()) &&  !(isset($context["_is_vendor_trace"]) || array_key_exists("_is_vendor_trace"$context) ? $context["_is_vendor_trace"] : (function () { throw new RuntimeError('Variable "_is_vendor_trace" does not exist.'26$this->source); })()));
  99.             // line 27
  100.             echo "            ";
  101.             if ((isset($context["_display_code_snippet"]) || array_key_exists("_display_code_snippet"$context) ? $context["_display_code_snippet"] : (function () { throw new RuntimeError('Variable "_display_code_snippet" does not exist.'27$this->source); })())) {
  102.                 $context["_is_first_user_code"] = false;
  103.             }
  104.             // line 28
  105.             echo "            <div class=\"trace-line ";
  106.             echo (((isset($context["_is_vendor_trace"]) || array_key_exists("_is_vendor_trace"$context) ? $context["_is_vendor_trace"] : (function () { throw new RuntimeError('Variable "_is_vendor_trace" does not exist.'28$this->source); })())) ? ("trace-from-vendor") : (""));
  107.             echo "\">
  108.                 ";
  109.             // line 29
  110.             echo twig_include($this->env$context"@Twig/Exception/trace.html.twig", ["prefix" => (isset($context["index"]) || array_key_exists("index"$context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.'29$this->source); })()), "i" => $context["i"], "trace" => $context["trace"], "style" => (((isset($context["_is_vendor_trace"]) || array_key_exists("_is_vendor_trace"$context) ? $context["_is_vendor_trace"] : (function () { throw new RuntimeError('Variable "_is_vendor_trace" does not exist.'29$this->source); })())) ? ("compact") : ((((isset($context["_display_code_snippet"]) || array_key_exists("_display_code_snippet"$context) ? $context["_display_code_snippet"] : (function () { throw new RuntimeError('Variable "_display_code_snippet" does not exist.'29$this->source); })())) ? ("expanded") : (""))))], false);
  111.             echo "
  112.             </div>
  113.         ";
  114.         }
  115.         $_parent $context['_parent'];
  116.         unset($context['_seq'], $context['_iterated'], $context['i'], $context['trace'], $context['_parent'], $context['loop']);
  117.         $context array_intersect_key($context$_parent) + $_parent;
  118.         // line 32
  119.         echo "        </div>
  120.     </div>
  121. </div>
  122. ";
  123.         
  124.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.     }
  130.     public function getTemplateName()
  131.     {
  132.         return "@Twig/Exception/traces.html.twig";
  133.     }
  134.     public function isTraitable()
  135.     {
  136.         return false;
  137.     }
  138.     public function getDebugInfo()
  139.     {
  140.         return array (  132 => 32,  123 => 29,  118 => 28,  113 => 27,  110 => 26,  107 => 25,  102 => 24,  100 => 23,  96 => 22,  91 => 19,  85 => 17,  83 => 16,  77 => 13,  72 => 11,  70 => 10,  64 => 7,  60 => 6,  53 => 4,  46 => 1,);
  141.     }
  142.     public function getSourceContext()
  143.     {
  144.         return new Source("<div class=\"trace trace-as-html\" id=\"trace-box-{{ index }}\">
  145.     <div class=\"trace-details\">
  146.         <div class=\"trace-head\">
  147.             <span class=\"sf-toggle\" data-toggle-selector=\"#trace-html-{{ index }}\" data-toggle-initial=\"{{ expand ? 'display' }}\">
  148.                 <h3 class=\"trace-class\">
  149.                     <span class=\"icon icon-close\">{{ include('@Twig/images/icon-minus-square-o.svg') }}</span>
  150.                     <span class=\"icon icon-open\">{{ include('@Twig/images/icon-plus-square-o.svg') }}</span>
  151.                     <span class=\"trace-namespace\">
  152.                         {{ exception.class|split('\\\\')|slice(0, -1)|join('\\\\') }}
  153.                         {{- exception.class|split('\\\\')|length > 1 ? '\\\\' }}
  154.                     </span>
  155.                     {{ exception.class|split('\\\\')|last }}
  156.                 </h3>
  157.                 {% if exception.message is not empty and index > 1 %}
  158.                     <p class=\"break-long-words trace-message\">{{ exception.message }}</p>
  159.                 {% endif %}
  160.             </span>
  161.         </div>
  162.         <div id=\"trace-html-{{ index }}\" class=\"sf-toggle-content\">
  163.         {% set _is_first_user_code = true %}
  164.         {% for i, trace in exception.trace %}
  165.             {% set _is_vendor_trace = trace.file is not empty and ('/vendor/' in trace.file or '/var/cache/' in trace.file) %}
  166.             {% set _display_code_snippet = _is_first_user_code and not _is_vendor_trace %}
  167.             {% if _display_code_snippet %}{% set _is_first_user_code = false %}{% endif %}
  168.             <div class=\"trace-line {{ _is_vendor_trace ? 'trace-from-vendor' }}\">
  169.                 {{ include('@Twig/Exception/trace.html.twig', { prefix: index, i: i, trace: trace, style: _is_vendor_trace ? 'compact' : _display_code_snippet ? 'expanded' }, with_context = false) }}
  170.             </div>
  171.         {% endfor %}
  172.         </div>
  173.     </div>
  174. </div>
  175. ""@Twig/Exception/traces.html.twig""/var/www/researchguide.net/preprod/shared/vendor/symfony/twig-bundle/Resources/views/Exception/traces.html.twig");
  176.     }
  177. }