var/cache/dev/twig/88/88f929c35ad99ecb241b8158fa1942bf29821a942425ccb1d588f1e9ef373b41.php line 121

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