var/cache/dev/twig/2d/2d3ecf907293b6f9ca93c35ad856e8c6501d3cdb0d2290b825ae962aebd5285f.php line 34

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/trace.html.twig */
  15. class __TwigTemplate_1e81f867cfcffaf9cb1a39cc9356ebd5e80d9c0323c7d31f91929f511d475906 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/trace.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/trace.html.twig"));
  34.         // line 1
  35.         yield "<div class=\"trace-line-header break-long-words ";
  36.         yield ((((CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"truetruefalse1)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"falsefalsefalse1), false)) : (false))) ? ("sf-toggle") : (""));
  37.         yield "\" data-toggle-selector=\"#trace-html-";
  38.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["prefix"]) || array_key_exists("prefix"$context) ? $context["prefix"] : (function () { throw new RuntimeError('Variable "prefix" does not exist.'1$this->source); })()), "html"nulltrue);
  39.         yield "-";
  40.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'1$this->source); })()), "html"nulltrue);
  41.         yield "\" data-toggle-initial=\"";
  42.         yield (((=== CoreExtension::compare((isset($context["style"]) || array_key_exists("style"$context) ? $context["style"] : (function () { throw new RuntimeError('Variable "style" does not exist.'1$this->source); })()), "expanded"))) ? ("display") : (""));
  43.         yield "\">
  44.     ";
  45.         // line 2
  46.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"truetruefalse2)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"falsefalsefalse2), false)) : (false))) {
  47.             // line 3
  48.             yield "        <span class=\"icon icon-close\">";
  49.             yield Twig\Extension\CoreExtension::include($this->env$context"@Twig/images/icon-minus-square.svg");
  50.             yield "</span>
  51.         <span class=\"icon icon-open\">";
  52.             // line 4
  53.             yield Twig\Extension\CoreExtension::include($this->env$context"@Twig/images/icon-plus-square.svg");
  54.             yield "</span>
  55.     ";
  56.         }
  57.         // line 6
  58.         yield "
  59.     ";
  60.         // line 7
  61.         if (((!== CoreExtension::compare((isset($context["style"]) || array_key_exists("style"$context) ? $context["style"] : (function () { throw new RuntimeError('Variable "style" does not exist.'7$this->source); })()), "compact")) && CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'7$this->source); })()), "function", [], "any"falsefalsefalse7))) {
  62.             // line 8
  63.             yield "        <span class=\"trace-class\">";
  64.             yield $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'8$this->source); })()), "class", [], "any"falsefalsefalse8), "html"nulltrue));
  65.             yield "</span>";
  66.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'8$this->source); })()), "type", [], "any"falsefalsefalse8))) {
  67.                 yield "<span class=\"trace-type\">";
  68.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'8$this->source); })()), "type", [], "any"falsefalsefalse8), "html"nulltrue);
  69.                 yield "</span>";
  70.             }
  71.             yield "<span class=\"trace-method\">";
  72.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'8$this->source); })()), "function", [], "any"falsefalsefalse8), "html"nulltrue);
  73.             yield "</span><span class=\"trace-arguments\">(";
  74.             yield $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatArgs(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'8$this->source); })()), "args", [], "any"falsefalsefalse8));
  75.             yield ")</span>
  76.     ";
  77.         }
  78.         // line 10
  79.         yield "
  80.     ";
  81.         // line 11
  82.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"truetruefalse11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"falsefalsefalse11), false)) : (false))) {
  83.             // line 12
  84.             yield "        ";
  85.             $context["line_number"] = ((CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "line", [], "any"truetruefalse12)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "line", [], "any"falsefalsefalse12), 1)) : (1));
  86.             // line 13
  87.             yield "        ";
  88.             $context["file_link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'13$this->source); })()), "file", [], "any"falsefalsefalse13), (isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'13$this->source); })()));
  89.             // line 14
  90.             yield "        ";
  91.             $context["file_path"] = Twig\Extension\CoreExtension::replace(Twig\Extension\CoreExtension::striptags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->formatFile(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'14$this->source); })()), "file", [], "any"falsefalsefalse14), (isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'14$this->source); })()))), [(" at line " . (isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'14$this->source); })())) => ""]);
  92.             // line 15
  93.             yield "        ";
  94.             $context["file_path_parts"] = Twig\Extension\CoreExtension::split($this->env->getCharset(), (isset($context["file_path"]) || array_key_exists("file_path"$context) ? $context["file_path"] : (function () { throw new RuntimeError('Variable "file_path" does not exist.'15$this->source); })()), Twig\Extension\CoreExtension::constant("DIRECTORY_SEPARATOR"));
  95.             // line 16
  96.             yield "
  97.         <span class=\"block trace-file-path\">
  98.             in
  99.             <a href=\"";
  100.             // line 19
  101.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["file_link"]) || array_key_exists("file_link"$context) ? $context["file_link"] : (function () { throw new RuntimeError('Variable "file_link" does not exist.'19$this->source); })()), "html"nulltrue);
  102.             yield "\">";
  103.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["file_path_parts"]) || array_key_exists("file_path_parts"$context) ? $context["file_path_parts"] : (function () { throw new RuntimeError('Variable "file_path_parts" does not exist.'19$this->source); })()), 0,  -1), Twig\Extension\CoreExtension::constant("DIRECTORY_SEPARATOR")), "html"nulltrue);
  104.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("DIRECTORY_SEPARATOR"), "html"nulltrue);
  105.             yield "<strong>";
  106.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::last($this->env->getCharset(), (isset($context["file_path_parts"]) || array_key_exists("file_path_parts"$context) ? $context["file_path_parts"] : (function () { throw new RuntimeError('Variable "file_path_parts" does not exist.'19$this->source); })())), "html"nulltrue);
  107.             yield "</strong></a>";
  108.             // line 20
  109.             if (((=== CoreExtension::compare((isset($context["style"]) || array_key_exists("style"$context) ? $context["style"] : (function () { throw new RuntimeError('Variable "style" does not exist.'20$this->source); })()), "compact")) && CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'20$this->source); })()), "function", [], "any"falsefalsefalse20))) {
  110.                 yield "<span class=\"trace-type\">";
  111.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'20$this->source); })()), "type", [], "any"falsefalsefalse20), "html"nulltrue);
  112.                 yield "</span><span class=\"trace-method\">";
  113.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'20$this->source); })()), "function", [], "any"falsefalsefalse20), "html"nulltrue);
  114.                 yield "</span>";
  115.             }
  116.             // line 21
  117.             yield "            (line ";
  118.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'21$this->source); })()), "html"nulltrue);
  119.             yield ")
  120.         </span>
  121.     ";
  122.         }
  123.         // line 24
  124.         yield "</div>
  125. ";
  126.         // line 25
  127.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"truetruefalse25)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["trace"] ?? null), "file", [], "any"falsefalsefalse25), false)) : (false))) {
  128.             // line 26
  129.             yield "    <div id=\"trace-html-";
  130.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((isset($context["prefix"]) || array_key_exists("prefix"$context) ? $context["prefix"] : (function () { throw new RuntimeError('Variable "prefix" does not exist.'26$this->source); })()) . "-") . (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'26$this->source); })())), "html"nulltrue);
  131.             yield "\" class=\"trace-code sf-toggle-content\">
  132.         ";
  133.             // line 27
  134.             yield Twig\Extension\CoreExtension::replace($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->fileExcerpt(CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'27$this->source); })()), "file", [], "any"falsefalsefalse27), CoreExtension::getAttribute($this->env$this->source, (isset($context["trace"]) || array_key_exists("trace"$context) ? $context["trace"] : (function () { throw new RuntimeError('Variable "trace" does not exist.'27$this->source); })()), "line", [], "any"falsefalsefalse27), 5), ["#DD0000" => "var(--highlight-string)""#007700" => "var(--highlight-keyword)""#0000BB" => "var(--highlight-default)""#FF8000" => "var(--highlight-comment)"]);
  135.             // line 32
  136.             yield "
  137.     </div>
  138. ";
  139.         }
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         return; yield '';
  145.     }
  146.     /**
  147.      * @codeCoverageIgnore
  148.      */
  149.     public function getTemplateName()
  150.     {
  151.         return "@Twig/Exception/trace.html.twig";
  152.     }
  153.     /**
  154.      * @codeCoverageIgnore
  155.      */
  156.     public function isTraitable()
  157.     {
  158.         return false;
  159.     }
  160.     /**
  161.      * @codeCoverageIgnore
  162.      */
  163.     public function getDebugInfo()
  164.     {
  165.         return array (  145 => 32,  143 => 27,  138 => 26,  136 => 25,  133 => 24,  126 => 21,  118 => 20,  110 => 19,  105 => 16,  102 => 15,  99 => 14,  96 => 13,  93 => 12,  91 => 11,  88 => 10,  72 => 8,  70 => 7,  67 => 6,  62 => 4,  57 => 3,  55 => 2,  44 => 1,);
  166.     }
  167.     public function getSourceContext()
  168.     {
  169.         return new Source("<div class=\"trace-line-header break-long-words {{ trace.file|default(false) ? 'sf-toggle' }}\" data-toggle-selector=\"#trace-html-{{ prefix }}-{{ i }}\" data-toggle-initial=\"{{ style == 'expanded' ? 'display' }}\">
  170.     {% if trace.file|default(false) %}
  171.         <span class=\"icon icon-close\">{{ include('@Twig/images/icon-minus-square.svg') }}</span>
  172.         <span class=\"icon icon-open\">{{ include('@Twig/images/icon-plus-square.svg') }}</span>
  173.     {% endif %}
  174.     {% if style != 'compact' and trace.function %}
  175.         <span class=\"trace-class\">{{ trace.class|abbr_class }}</span>{% if trace.type is not empty %}<span class=\"trace-type\">{{ trace.type }}</span>{% endif %}<span class=\"trace-method\">{{ trace.function }}</span><span class=\"trace-arguments\">({{ trace.args|format_args }})</span>
  176.     {% endif %}
  177.     {% if trace.file|default(false) %}
  178.         {% set line_number = trace.line|default(1) %}
  179.         {% set file_link = trace.file|file_link(line_number) %}
  180.         {% set file_path = trace.file|format_file(line_number)|striptags|replace({ (' at line ' ~ line_number): '' }) %}
  181.         {% set file_path_parts = file_path|split(constant('DIRECTORY_SEPARATOR')) %}
  182.         <span class=\"block trace-file-path\">
  183.             in
  184.             <a href=\"{{ file_link }}\">{{ file_path_parts[:-1]|join(constant('DIRECTORY_SEPARATOR')) }}{{ constant('DIRECTORY_SEPARATOR') }}<strong>{{ file_path_parts|last }}</strong></a>
  185.             {%- if style == 'compact' and trace.function %}<span class=\"trace-type\">{{ trace.type }}</span><span class=\"trace-method\">{{ trace.function }}</span>{% endif %}
  186.             (line {{ line_number }})
  187.         </span>
  188.     {% endif %}
  189. </div>
  190. {% if trace.file|default(false) %}
  191.     <div id=\"trace-html-{{ prefix ~ '-' ~ i }}\" class=\"trace-code sf-toggle-content\">
  192.         {{ trace.file|file_excerpt(trace.line, 5)|replace({
  193.             '#DD0000': 'var(--highlight-string)',
  194.             '#007700': 'var(--highlight-keyword)',
  195.             '#0000BB': 'var(--highlight-default)',
  196.             '#FF8000': 'var(--highlight-comment)'
  197.         })|raw }}
  198.     </div>
  199. {% endif %}
  200. ""@Twig/Exception/trace.html.twig""/home/u405565514/domains/ourhoneybee.eu/public_html/honeybee_main/vendor/symfony/twig-bundle/Resources/views/Exception/trace.html.twig");
  201.     }
  202. }