var/cache/dev/twig/8f/8fbcfd2c89c8e0662486070f1c9aa419.php line 54

  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. /* @WebProfiler/Collector/messenger.html.twig */
  14. class __TwigTemplate_7c11325161017547a2b2457e2cfa3402 extends 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->blocks = [
  23.             'toolbar' => [$this'block_toolbar'],
  24.             'menu' => [$this'block_menu'],
  25.             'head' => [$this'block_head'],
  26.             'panel' => [$this'block_panel'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@WebProfiler/Profiler/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/messenger.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/messenger.html.twig"));
  41.         // line 3
  42.         $macros["helper"] = $this->macros["helper"] = $this;
  43.         // line 1
  44.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Collector/messenger.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_toolbar($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  59.         // line 6
  60.         echo "    ";
  61.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'6$this->source); })()), "messages", [], "any"falsefalsefalse6)) > 0)) {
  62.             // line 7
  63.             echo "        ";
  64.             $context["status_color"] = ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'7$this->source); })()), "exceptionsCount", [], "any"falsefalsefalse7)) ? ("red") : (""));
  65.             // line 8
  66.             echo "        ";
  67.             ob_start();
  68.             // line 9
  69.             echo "            ";
  70.             echo twig_source($this->env"@WebProfiler/Icon/messenger.svg");
  71.             echo "
  72.             <span class=\"sf-toolbar-value\">";
  73.             // line 10
  74.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "messages", [], "any"falsefalsefalse10)), "html"nulltrue);
  75.             echo "</span>
  76.         ";
  77.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  78.             // line 12
  79.             echo "
  80.         ";
  81.             // line 13
  82.             ob_start();
  83.             // line 14
  84.             echo "            ";
  85.             $context['_parent'] = $context;
  86.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'14$this->source); })()), "buses", [], "any"falsefalsefalse14));
  87.             foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {
  88.                 // line 15
  89.                 echo "                ";
  90.                 $context["exceptionsCount"] = twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'15$this->source); })()), "exceptionsCount", [=> $context["bus"]], "method"falsefalsefalse15);
  91.                 // line 16
  92.                 echo "                <div class=\"sf-toolbar-info-piece\">
  93.                     <b>";
  94.                 // line 17
  95.                 echo twig_escape_filter($this->env$context["bus"], "html"nulltrue);
  96.                 echo "</b>
  97.                     <span
  98.                         title=\"";
  99.                 // line 19
  100.                 echo twig_escape_filter($this->env, (isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'19$this->source); })()), "html"nulltrue);
  101.                 echo " message(s) with exceptions\"
  102.                         class=\"sf-toolbar-status sf-toolbar-status-";
  103.                 // line 20
  104.                 echo (((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'20$this->source); })())) ? ("red") : (""));
  105.                 echo "\"
  106.                     >
  107.                         ";
  108.                 // line 22
  109.                 echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'22$this->source); })()), "messages", [=> $context["bus"]], "method"falsefalsefalse22)), "html"nulltrue);
  110.                 echo "
  111.                     </span>
  112.                 </div>
  113.             ";
  114.             }
  115.             $_parent $context['_parent'];
  116.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bus'], $context['_parent'], $context['loop']);
  117.             $context array_intersect_key($context$_parent) + $_parent;
  118.             // line 26
  119.             echo "        ";
  120.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  121.             // line 27
  122.             echo "
  123.         ";
  124.             // line 28
  125.             echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => "messenger""status" => (isset($context["status_color"]) || array_key_exists("status_color"$context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.'28$this->source); })())]);
  126.             echo "
  127.     ";
  128.         }
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.     }
  134.     // line 32
  135.     public function block_menu($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  142.         // line 33
  143.         echo "    <span class=\"label";
  144.         echo ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'33$this->source); })()), "exceptionsCount", [], "any"falsefalsefalse33)) ? (" label-status-error") : (""));
  145.         echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'33$this->source); })()), "messages", [], "any"falsefalsefalse33))) ? (" disabled") : (""));
  146.         echo "\">
  147.         <span class=\"icon\">";
  148.         // line 34
  149.         echo twig_source($this->env"@WebProfiler/Icon/messenger.svg");
  150.         echo "</span>
  151.         <strong>Messages</strong>
  152.         ";
  153.         // line 36
  154.         if ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'36$this->source); })()), "exceptionsCount", [], "any"falsefalsefalse36) > 0)) {
  155.             // line 37
  156.             echo "            <span class=\"count\">
  157.                 <span>";
  158.             // line 38
  159.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'38$this->source); })()), "exceptionsCount", [], "any"falsefalsefalse38), "html"nulltrue);
  160.             echo "</span>
  161.             </span>
  162.         ";
  163.         }
  164.         // line 41
  165.         echo "    </span>
  166. ";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.     }
  172.     // line 44
  173.     public function block_head($context, array $blocks = [])
  174.     {
  175.         $macros $this->macros;
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  180.         // line 45
  181.         echo "    ";
  182.         $this->displayParentBlock("head"$context$blocks);
  183.         echo "
  184.     <style>
  185.         .message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }
  186.         .message-item tbody tr td:first-child { width: 170px; }
  187.         .message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }
  188.         .message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none }
  189.         .message-item .icon svg { height: 24px; width: 24px; }
  190.         .message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
  191.         .message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
  192.         .message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }
  193.         .message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }
  194.     </style>
  195. ";
  196.         
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  198.         
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200.     }
  201.     // line 63
  202.     public function block_panel($context, array $blocks = [])
  203.     {
  204.         $macros $this->macros;
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  209.         // line 64
  210.         echo "    ";
  211.         $macros["helper"] = $this;
  212.         // line 65
  213.         echo "
  214.     <h2>Messages</h2>
  215.     ";
  216.         // line 68
  217.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'68$this->source); })()), "messages", [], "any"falsefalsefalse68))) {
  218.             // line 69
  219.             echo "        <div class=\"empty empty-panel\">
  220.             <p>No messages have been collected.</p>
  221.         </div>
  222.     ";
  223.         } elseif ((== twig_length_filter($this->envtwig_get_attribute($this->env$this->source,         // line 72
  224. (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'72$this->source); })()), "buses", [], "any"falsefalsefalse72)))) {
  225.             // line 73
  226.             echo "        <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
  227.         ";
  228.             // line 74
  229.             echo twig_call_macro($macros["helper"], "macro_render_bus_messages", [twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'74$this->source); })()), "messages", [], "any"falsefalsefalse74), true], 74$context$this->getSourceContext());
  230.             echo "
  231.     ";
  232.         } else {
  233.             // line 76
  234.             echo "        <div class=\"sf-tabs message-bus\">
  235.             <div class=\"tab\">
  236.                 ";
  237.             // line 78
  238.             $context["messages"] = twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'78$this->source); })()), "messages", [], "any"falsefalsefalse78);
  239.             // line 79
  240.             echo "                ";
  241.             $context["exceptionsCount"] = twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'79$this->source); })()), "exceptionsCount", [], "any"falsefalsefalse79);
  242.             // line 80
  243.             echo "                <h3 class=\"tab-title\">All<span class=\"badge ";
  244.             echo (((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'80$this->source); })())) ? (((((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'80$this->source); })()) == twig_length_filter($this->env, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'80$this->source); })())))) ? ("status-error") : ("status-some-errors"))) : (""));
  245.             echo "\">";
  246.             echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'80$this->source); })())), "html"nulltrue);
  247.             echo "</span></h3>
  248.                 <div class=\"tab-content\">
  249.                     <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
  250.                     ";
  251.             // line 84
  252.             echo twig_call_macro($macros["helper"], "macro_render_bus_messages", [(isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'84$this->source); })()), true], 84$context$this->getSourceContext());
  253.             echo "
  254.                 </div>
  255.             </div>
  256.             ";
  257.             // line 88
  258.             $context['_parent'] = $context;
  259.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'88$this->source); })()), "buses", [], "any"falsefalsefalse88));
  260.             foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {
  261.                 // line 89
  262.                 echo "                <div class=\"tab message-bus\">
  263.                     ";
  264.                 // line 90
  265.                 $context["messages"] = twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'90$this->source); })()), "messages", [=> $context["bus"]], "method"falsefalsefalse90);
  266.                 // line 91
  267.                 echo "                    ";
  268.                 $context["exceptionsCount"] = twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'91$this->source); })()), "exceptionsCount", [=> $context["bus"]], "method"falsefalsefalse91);
  269.                 // line 92
  270.                 echo "                    <h3 class=\"tab-title\">";
  271.                 echo twig_escape_filter($this->env$context["bus"], "html"nulltrue);
  272.                 echo "<span class=\"badge ";
  273.                 echo (((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'92$this->source); })())) ? (((((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount"$context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.'92$this->source); })()) == twig_length_filter($this->env, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'92$this->source); })())))) ? ("status-error") : ("status-some-errors"))) : (""));
  274.                 echo "\">";
  275.                 echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'92$this->source); })())), "html"nulltrue);
  276.                 echo "</span></h3>
  277.                     <div class=\"tab-content\">
  278.                         <p class=\"text-muted\">Ordered list of messages dispatched on the <code>";
  279.                 // line 95
  280.                 echo twig_escape_filter($this->env$context["bus"], "html"nulltrue);
  281.                 echo "</code> bus</p>
  282.                         ";
  283.                 // line 96
  284.                 echo twig_call_macro($macros["helper"], "macro_render_bus_messages", [(isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'96$this->source); })())], 96$context$this->getSourceContext());
  285.                 echo "
  286.                     </div>
  287.                 </div>
  288.             ";
  289.             }
  290.             $_parent $context['_parent'];
  291.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bus'], $context['_parent'], $context['loop']);
  292.             $context array_intersect_key($context$_parent) + $_parent;
  293.             // line 100
  294.             echo "        </div>
  295.     ";
  296.         }
  297.         // line 102
  298.         echo "
  299. ";
  300.         
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  302.         
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  304.     }
  305.     // line 105
  306.     public function macro_render_bus_messages($__messages__ null$__showBus__ false, ...$__varargs__)
  307.     {
  308.         $macros $this->macros;
  309.         $context $this->env->mergeGlobals([
  310.             "messages" => $__messages__,
  311.             "showBus" => $__showBus__,
  312.             "varargs" => $__varargs__,
  313.         ]);
  314.         $blocks = [];
  315.         ob_start();
  316.         try {
  317.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_bus_messages"));
  319.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_bus_messages"));
  321.             // line 106
  322.             echo "    ";
  323.             $context["discr"] = twig_random($this->env);
  324.             // line 107
  325.             echo "    ";
  326.             $context['_parent'] = $context;
  327.             $context['_seq'] = twig_ensure_traversable((isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'107$this->source); })()));
  328.             $context['loop'] = [
  329.               'parent' => $context['_parent'],
  330.               'index0' => 0,
  331.               'index'  => 1,
  332.               'first'  => true,
  333.             ];
  334.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  335.                 $length count($context['_seq']);
  336.                 $context['loop']['revindex0'] = $length 1;
  337.                 $context['loop']['revindex'] = $length;
  338.                 $context['loop']['length'] = $length;
  339.                 $context['loop']['last'] = === $length;
  340.             }
  341.             foreach ($context['_seq'] as $context["_key"] => $context["dispatchCall"]) {
  342.                 // line 108
  343.                 echo "    <table class=\"message-item\">
  344.         <thead>
  345.             <tr>
  346.                 <th colspan=\"2\" class=\"sf-toggle\"
  347.                     data-toggle-selector=\"#message-item-";
  348.                 // line 112
  349.                 echo twig_escape_filter($this->env, (isset($context["discr"]) || array_key_exists("discr"$context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.'112$this->source); })()), "html"nulltrue);
  350.                 echo "-";
  351.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse112), "html"nulltrue);
  352.                 echo "-details\"
  353.                     data-toggle-initial=\"";
  354.                 // line 113
  355.                 echo ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse113)) ? ("display") : (""));
  356.                 echo "\"
  357.                 >
  358.                     <span class=\"dump-inline\">";
  359.                 // line 115
  360.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["dispatchCall"], "message", [], "any"falsefalsefalse115), "type", [], "any"falsefalsefalse115));
  361.                 echo "</span>
  362.                     ";
  363.                 // line 116
  364.                 if (twig_get_attribute($this->env$this->source$context["dispatchCall"], "exception", [], "any"truetruefalse116)) {
  365.                     // line 117
  366.                     echo "                        <span class=\"label status-error\">exception</span>
  367.                     ";
  368.                 }
  369.                 // line 119
  370.                 echo "                    <a class=\"toggle-button\">
  371.                         <span class=\"icon icon-close\">";
  372.                 // line 120
  373.                 echo twig_source($this->env"@WebProfiler/images/icon-minus-square.svg");
  374.                 echo "</span>
  375.                         <span class=\"icon icon-open\">";
  376.                 // line 121
  377.                 echo twig_source($this->env"@WebProfiler/images/icon-plus-square.svg");
  378.                 echo "</span>
  379.                     </a>
  380.                 </th>
  381.             </tr>
  382.         </thead>
  383.         <tbody id=\"message-item-";
  384.                 // line 126
  385.                 echo twig_escape_filter($this->env, (isset($context["discr"]) || array_key_exists("discr"$context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.'126$this->source); })()), "html"nulltrue);
  386.                 echo "-";
  387.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse126), "html"nulltrue);
  388.                 echo "-details\" class=\"sf-toggle-content\">
  389.             <tr>
  390.                 <th scope=\"row\" class=\"font-normal\">Caller</th>
  391.                 <td class=\"message-bus-dispatch-caller\">
  392.                     In
  393.                     ";
  394.                 // line 131
  395.                 $context["caller"] = twig_get_attribute($this->env$this->source$context["dispatchCall"], "caller", [], "any"falsefalsefalse131);
  396.                 // line 132
  397.                 echo "                    ";
  398.                 if (twig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'132$this->source); })()), "line", [], "any"falsefalsefalse132)) {
  399.                     // line 133
  400.                     echo "                        ";
  401.                     $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'133$this->source); })()), "file", [], "any"falsefalsefalse133), twig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'133$this->source); })()), "line", [], "any"falsefalsefalse133));
  402.                     // line 134
  403.                     echo "                        ";
  404.                     if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'134$this->source); })())) {
  405.                         // line 135
  406.                         echo "                            <a href=\"";
  407.                         echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'135$this->source); })()), "html"nulltrue);
  408.                         echo "\" title=\"";
  409.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'135$this->source); })()), "file", [], "any"falsefalsefalse135), "html"nulltrue);
  410.                         echo "\">";
  411.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'135$this->source); })()), "name", [], "any"falsefalsefalse135), "html"nulltrue);
  412.                         echo "</a>
  413.                         ";
  414.                     } else {
  415.                         // line 137
  416.                         echo "                            <abbr title=\"";
  417.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'137$this->source); })()), "file", [], "any"falsefalsefalse137), "html"nulltrue);
  418.                         echo "\">";
  419.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'137$this->source); })()), "name", [], "any"falsefalsefalse137), "html"nulltrue);
  420.                         echo "</abbr>
  421.                         ";
  422.                     }
  423.                     // line 139
  424.                     echo "                    ";
  425.                 } else {
  426.                     // line 140
  427.                     echo "                        ";
  428.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'140$this->source); })()), "name", [], "any"falsefalsefalse140), "html"nulltrue);
  429.                     echo "
  430.                     ";
  431.                 }
  432.                 // line 142
  433.                 echo "                    line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";
  434.                 echo twig_escape_filter($this->env, (isset($context["discr"]) || array_key_exists("discr"$context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.'142$this->source); })()), "html"nulltrue);
  435.                 echo "-";
  436.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse142), "html"nulltrue);
  437.                 echo "\">";
  438.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'142$this->source); })()), "line", [], "any"falsefalsefalse142), "html"nulltrue);
  439.                 echo "</a>
  440.                     <div class=\"hidden\" id=\"sf-trace-";
  441.                 // line 144
  442.                 echo twig_escape_filter($this->env, (isset($context["discr"]) || array_key_exists("discr"$context) ? $context["discr"] : (function () { throw new RuntimeError('Variable "discr" does not exist.'144$this->source); })()), "html"nulltrue);
  443.                 echo "-";
  444.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse144), "html"nulltrue);
  445.                 echo "\">
  446.                         <div class=\"trace\">
  447.                             ";
  448.                 // line 146
  449.                 echo twig_replace_filter($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->fileExcerpt(twig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'146$this->source); })()), "file", [], "any"falsefalsefalse146), twig_get_attribute($this->env$this->source, (isset($context["caller"]) || array_key_exists("caller"$context) ? $context["caller"] : (function () { throw new RuntimeError('Variable "caller" does not exist.'146$this->source); })()), "line", [], "any"falsefalsefalse146)), ["#DD0000" => "var(--highlight-string)""#007700" => "var(--highlight-keyword)""#0000BB" => "var(--highlight-default)""#FF8000" => "var(--highlight-comment)"]);
  450.                 // line 151
  451.                 echo "
  452.                         </div>
  453.                     </div>
  454.                 </td>
  455.             </tr>
  456.             ";
  457.                 // line 156
  458.                 if ((isset($context["showBus"]) || array_key_exists("showBus"$context) ? $context["showBus"] : (function () { throw new RuntimeError('Variable "showBus" does not exist.'156$this->source); })())) {
  459.                     // line 157
  460.                     echo "                <tr>
  461.                     <th scope=\"row\" class=\"font-normal\">Bus</th>
  462.                     <td>";
  463.                     // line 159
  464.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["dispatchCall"], "bus", [], "any"falsefalsefalse159), "html"nulltrue);
  465.                     echo "</td>
  466.                 </tr>
  467.             ";
  468.                 }
  469.                 // line 162
  470.                 echo "            <tr>
  471.                 <th scope=\"row\" class=\"font-normal\">Message</th>
  472.                 <td>";
  473.                 // line 164
  474.                 echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["dispatchCall"], "message", [], "any"falsefalsefalse164), "value", [], "any"falsefalsefalse164), 2);
  475.                 echo "</td>
  476.             </tr>
  477.             <tr>
  478.                 <th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th>
  479.                 <td>
  480.                     ";
  481.                 // line 169
  482.                 $context['_parent'] = $context;
  483.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["dispatchCall"], "stamps", [], "any"falsefalsefalse169));
  484.                 $context['_iterated'] = false;
  485.                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  486.                     // line 170
  487.                     echo "                        ";
  488.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["item"]);
  489.                     echo "
  490.                     ";
  491.                     $context['_iterated'] = true;
  492.                 }
  493.                 if (!$context['_iterated']) {
  494.                     // line 172
  495.                     echo "                        <span class=\"text-muted font-normal\">No items</span>
  496.                     ";
  497.                 }
  498.                 $_parent $context['_parent'];
  499.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  500.                 $context array_intersect_key($context$_parent) + $_parent;
  501.                 // line 174
  502.                 echo "                </td>
  503.             </tr>
  504.             ";
  505.                 // line 176
  506.                 if (twig_get_attribute($this->env$this->source$context["dispatchCall"], "stamps_after_dispatch", [], "any"truetruefalse176)) {
  507.                     // line 177
  508.                     echo "                <tr>
  509.                     <th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th>
  510.                     <td>
  511.                         ";
  512.                     // line 180
  513.                     $context['_parent'] = $context;
  514.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["dispatchCall"], "stamps_after_dispatch", [], "any"falsefalsefalse180));
  515.                     $context['_iterated'] = false;
  516.                     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  517.                         // line 181
  518.                         echo "                            ";
  519.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["item"]);
  520.                         echo "
  521.                         ";
  522.                         $context['_iterated'] = true;
  523.                     }
  524.                     if (!$context['_iterated']) {
  525.                         // line 183
  526.                         echo "                            <span class=\"text-muted\">No items</span>
  527.                         ";
  528.                     }
  529.                     $_parent $context['_parent'];
  530.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  531.                     $context array_intersect_key($context$_parent) + $_parent;
  532.                     // line 185
  533.                     echo "                    </td>
  534.                 </tr>
  535.             ";
  536.                 }
  537.                 // line 188
  538.                 echo "            ";
  539.                 if (twig_get_attribute($this->env$this->source$context["dispatchCall"], "exception", [], "any"truetruefalse188)) {
  540.                     // line 189
  541.                     echo "                <tr>
  542.                     <td class=\"text-bold\">Exception</td>
  543.                     <td>
  544.                         ";
  545.                     // line 192
  546.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["dispatchCall"], "exception", [], "any"falsefalsefalse192), "value", [], "any"falsefalsefalse192), 1);
  547.                     echo "
  548.                     </td>
  549.                 </tr>
  550.             ";
  551.                 }
  552.                 // line 196
  553.                 echo "        </tbody>
  554.     </table>
  555.     ";
  556.                 ++$context['loop']['index0'];
  557.                 ++$context['loop']['index'];
  558.                 $context['loop']['first'] = false;
  559.                 if (isset($context['loop']['length'])) {
  560.                     --$context['loop']['revindex0'];
  561.                     --$context['loop']['revindex'];
  562.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  563.                 }
  564.             }
  565.             $_parent $context['_parent'];
  566.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dispatchCall'], $context['_parent'], $context['loop']);
  567.             $context array_intersect_key($context$_parent) + $_parent;
  568.             
  569.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  570.             
  571.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  572.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  573.         } finally {
  574.             ob_end_clean();
  575.         }
  576.     }
  577.     public function getTemplateName()
  578.     {
  579.         return "@WebProfiler/Collector/messenger.html.twig";
  580.     }
  581.     public function isTraitable()
  582.     {
  583.         return false;
  584.     }
  585.     public function getDebugInfo()
  586.     {
  587.         return array (  598 => 196,  591 => 192,  586 => 189,  583 => 188,  578 => 185,  571 => 183,  563 => 181,  558 => 180,  553 => 177,  551 => 176,  547 => 174,  540 => 172,  532 => 170,  527 => 169,  519 => 164,  515 => 162,  509 => 159,  505 => 157,  503 => 156,  496 => 151,  494 => 146,  487 => 144,  477 => 142,  471 => 140,  468 => 139,  460 => 137,  450 => 135,  447 => 134,  444 => 133,  441 => 132,  439 => 131,  429 => 126,  421 => 121,  417 => 120,  414 => 119,  410 => 117,  408 => 116,  404 => 115,  399 => 113,  393 => 112,  387 => 108,  369 => 107,  366 => 106,  346 => 105,  335 => 102,  331 => 100,  321 => 96,  317 => 95,  306 => 92,  303 => 91,  301 => 90,  298 => 89,  294 => 88,  287 => 84,  277 => 80,  274 => 79,  272 => 78,  268 => 76,  263 => 74,  260 => 73,  258 => 72,  253 => 69,  251 => 68,  246 => 65,  243 => 64,  233 => 63,  205 => 45,  195 => 44,  184 => 41,  178 => 38,  175 => 37,  173 => 36,  168 => 34,  162 => 33,  152 => 32,  139 => 28,  136 => 27,  133 => 26,  123 => 22,  118 => 20,  114 => 19,  109 => 17,  106 => 16,  103 => 15,  98 => 14,  96 => 13,  93 => 12,  88 => 10,  83 => 9,  80 => 8,  77 => 7,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  588.     }
  589.     public function getSourceContext()
  590.     {
  591.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  592. {% import _self as helper %}
  593. {% block toolbar %}
  594.     {% if collector.messages|length > 0 %}
  595.         {% set status_color = collector.exceptionsCount ? 'red' %}
  596.         {% set icon %}
  597.             {{ source('@WebProfiler/Icon/messenger.svg') }}
  598.             <span class=\"sf-toolbar-value\">{{ collector.messages|length }}</span>
  599.         {% endset %}
  600.         {% set text %}
  601.             {% for bus in collector.buses %}
  602.                 {% set exceptionsCount = collector.exceptionsCount(bus) %}
  603.                 <div class=\"sf-toolbar-info-piece\">
  604.                     <b>{{ bus }}</b>
  605.                     <span
  606.                         title=\"{{ exceptionsCount }} message(s) with exceptions\"
  607.                         class=\"sf-toolbar-status sf-toolbar-status-{{ exceptionsCount ? 'red' }}\"
  608.                     >
  609.                         {{ collector.messages(bus)|length }}
  610.                     </span>
  611.                 </div>
  612.             {% endfor %}
  613.         {% endset %}
  614.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: 'messenger', status: status_color }) }}
  615.     {% endif %}
  616. {% endblock %}
  617. {% block menu %}
  618.     <span class=\"label{{ collector.exceptionsCount ? ' label-status-error' }}{{ collector.messages is empty ? ' disabled' }}\">
  619.         <span class=\"icon\">{{ source('@WebProfiler/Icon/messenger.svg') }}</span>
  620.         <strong>Messages</strong>
  621.         {% if collector.exceptionsCount > 0 %}
  622.             <span class=\"count\">
  623.                 <span>{{ collector.exceptionsCount }}</span>
  624.             </span>
  625.         {% endif %}
  626.     </span>
  627. {% endblock %}
  628. {% block head %}
  629.     {{ parent() }}
  630.     <style>
  631.         .message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }
  632.         .message-item tbody tr td:first-child { width: 170px; }
  633.         .message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }
  634.         .message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none }
  635.         .message-item .icon svg { height: 24px; width: 24px; }
  636.         .message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
  637.         .message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
  638.         .message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }
  639.         .message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }
  640.     </style>
  641. {% endblock %}
  642. {% block panel %}
  643.     {% import _self as helper %}
  644.     <h2>Messages</h2>
  645.     {% if collector.messages is empty %}
  646.         <div class=\"empty empty-panel\">
  647.             <p>No messages have been collected.</p>
  648.         </div>
  649.     {% elseif 1 == collector.buses|length %}
  650.         <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
  651.         {{ helper.render_bus_messages(collector.messages, true) }}
  652.     {% else %}
  653.         <div class=\"sf-tabs message-bus\">
  654.             <div class=\"tab\">
  655.                 {% set messages = collector.messages %}
  656.                 {% set exceptionsCount = collector.exceptionsCount %}
  657.                 <h3 class=\"tab-title\">All<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3>
  658.                 <div class=\"tab-content\">
  659.                     <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>
  660.                     {{ helper.render_bus_messages(messages, true) }}
  661.                 </div>
  662.             </div>
  663.             {% for bus in collector.buses %}
  664.                 <div class=\"tab message-bus\">
  665.                     {% set messages = collector.messages(bus) %}
  666.                     {% set exceptionsCount = collector.exceptionsCount(bus) %}
  667.                     <h3 class=\"tab-title\">{{ bus }}<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3>
  668.                     <div class=\"tab-content\">
  669.                         <p class=\"text-muted\">Ordered list of messages dispatched on the <code>{{ bus }}</code> bus</p>
  670.                         {{ helper.render_bus_messages(messages) }}
  671.                     </div>
  672.                 </div>
  673.             {% endfor %}
  674.         </div>
  675.     {% endif %}
  676. {% endblock %}
  677. {% macro render_bus_messages(messages, showBus = false) %}
  678.     {% set discr = random() %}
  679.     {% for dispatchCall in messages %}
  680.     <table class=\"message-item\">
  681.         <thead>
  682.             <tr>
  683.                 <th colspan=\"2\" class=\"sf-toggle\"
  684.                     data-toggle-selector=\"#message-item-{{ discr }}-{{ loop.index0 }}-details\"
  685.                     data-toggle-initial=\"{{ loop.first ? 'display' }}\"
  686.                 >
  687.                     <span class=\"dump-inline\">{{ profiler_dump(dispatchCall.message.type) }}</span>
  688.                     {% if dispatchCall.exception is defined %}
  689.                         <span class=\"label status-error\">exception</span>
  690.                     {% endif %}
  691.                     <a class=\"toggle-button\">
  692.                         <span class=\"icon icon-close\">{{ source('@WebProfiler/images/icon-minus-square.svg') }}</span>
  693.                         <span class=\"icon icon-open\">{{ source('@WebProfiler/images/icon-plus-square.svg') }}</span>
  694.                     </a>
  695.                 </th>
  696.             </tr>
  697.         </thead>
  698.         <tbody id=\"message-item-{{ discr }}-{{ loop.index0 }}-details\" class=\"sf-toggle-content\">
  699.             <tr>
  700.                 <th scope=\"row\" class=\"font-normal\">Caller</th>
  701.                 <td class=\"message-bus-dispatch-caller\">
  702.                     In
  703.                     {% set caller = dispatchCall.caller %}
  704.                     {% if caller.line %}
  705.                         {% set link = caller.file|file_link(caller.line) %}
  706.                         {% if link %}
  707.                             <a href=\"{{ link }}\" title=\"{{ caller.file }}\">{{ caller.name }}</a>
  708.                         {% else %}
  709.                             <abbr title=\"{{ caller.file }}\">{{ caller.name }}</abbr>
  710.                         {% endif %}
  711.                     {% else %}
  712.                         {{ caller.name }}
  713.                     {% endif %}
  714.                     line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ discr }}-{{ loop.index0 }}\">{{ caller.line }}</a>
  715.                     <div class=\"hidden\" id=\"sf-trace-{{ discr }}-{{ loop.index0 }}\">
  716.                         <div class=\"trace\">
  717.                             {{ caller.file|file_excerpt(caller.line)|replace({
  718.                                 '#DD0000': 'var(--highlight-string)',
  719.                                 '#007700': 'var(--highlight-keyword)',
  720.                                 '#0000BB': 'var(--highlight-default)',
  721.                                 '#FF8000': 'var(--highlight-comment)'
  722.                             })|raw }}
  723.                         </div>
  724.                     </div>
  725.                 </td>
  726.             </tr>
  727.             {% if showBus %}
  728.                 <tr>
  729.                     <th scope=\"row\" class=\"font-normal\">Bus</th>
  730.                     <td>{{ dispatchCall.bus }}</td>
  731.                 </tr>
  732.             {% endif %}
  733.             <tr>
  734.                 <th scope=\"row\" class=\"font-normal\">Message</th>
  735.                 <td>{{ profiler_dump(dispatchCall.message.value, maxDepth=2) }}</td>
  736.             </tr>
  737.             <tr>
  738.                 <th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th>
  739.                 <td>
  740.                     {% for item in dispatchCall.stamps %}
  741.                         {{ profiler_dump(item) }}
  742.                     {% else %}
  743.                         <span class=\"text-muted font-normal\">No items</span>
  744.                     {% endfor %}
  745.                 </td>
  746.             </tr>
  747.             {% if dispatchCall.stamps_after_dispatch is defined %}
  748.                 <tr>
  749.                     <th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th>
  750.                     <td>
  751.                         {% for item in dispatchCall.stamps_after_dispatch %}
  752.                             {{ profiler_dump(item) }}
  753.                         {% else %}
  754.                             <span class=\"text-muted\">No items</span>
  755.                         {% endfor %}
  756.                     </td>
  757.                 </tr>
  758.             {% endif %}
  759.             {% if dispatchCall.exception is defined %}
  760.                 <tr>
  761.                     <td class=\"text-bold\">Exception</td>
  762.                     <td>
  763.                         {{ profiler_dump(dispatchCall.exception.value, maxDepth=1) }}
  764.                     </td>
  765.                 </tr>
  766.             {% endif %}
  767.         </tbody>
  768.     </table>
  769.     {% endfor %}
  770. {% endmacro %}
  771. ""@WebProfiler/Collector/messenger.html.twig""/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/messenger.html.twig");
  772.     }
  773. }