var/cache/dev/twig/8f/8fbcfd2c89c8e0662486070f1c9aa419.php line 54
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* @WebProfiler/Collector/messenger.html.twig */class __TwigTemplate_7c11325161017547a2b2457e2cfa3402 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['toolbar' => [$this, 'block_toolbar'],'menu' => [$this, 'block_menu'],'head' => [$this, 'block_head'],'panel' => [$this, 'block_panel'],];}protected function doGetParent(array $context){// line 1return "@WebProfiler/Profiler/layout.html.twig";}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/messenger.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/messenger.html.twig"));// line 3$macros["helper"] = $this->macros["helper"] = $this;// line 1$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/messenger.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 5public function block_toolbar($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));// line 6echo " ";if ((twig_length_filter($this->env, 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.', 6, $this->source); })()), "messages", [], "any", false, false, false, 6)) > 0)) {// line 7echo " ";$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", false, false, false, 7)) ? ("red") : (""));// line 8echo " ";ob_start();// line 9echo " ";echo twig_source($this->env, "@WebProfiler/Icon/messenger.svg");echo "<span class=\"sf-toolbar-value\">";// line 10echo twig_escape_filter($this->env, twig_length_filter($this->env, 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.', 10, $this->source); })()), "messages", [], "any", false, false, false, 10)), "html", null, true);echo "</span>";$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 12echo "";// line 13ob_start();// line 14echo " ";$context['_parent'] = $context;$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", false, false, false, 14));foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {// line 15echo " ";$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", [0 => $context["bus"]], "method", false, false, false, 15);// line 16echo " <div class=\"sf-toolbar-info-piece\"><b>";// line 17echo twig_escape_filter($this->env, $context["bus"], "html", null, true);echo "</b><spantitle=\"";// line 19echo 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", null, true);echo " message(s) with exceptions\"class=\"sf-toolbar-status sf-toolbar-status-";// line 20echo (((isset($context["exceptionsCount"]) || array_key_exists("exceptionsCount", $context) ? $context["exceptionsCount"] : (function () { throw new RuntimeError('Variable "exceptionsCount" does not exist.', 20, $this->source); })())) ? ("red") : (""));echo "\">";// line 22echo twig_escape_filter($this->env, twig_length_filter($this->env, 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.', 22, $this->source); })()), "messages", [0 => $context["bus"]], "method", false, false, false, 22)), "html", null, true);echo "</span></div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bus'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 26echo " ";$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 27echo "";// line 28echo 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); })())]);echo "";}$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 32public function block_menu($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));// line 33echo " <span class=\"label";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", false, false, false, 33)) ? (" label-status-error") : (""));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", false, false, false, 33))) ? (" disabled") : (""));echo "\"><span class=\"icon\">";// line 34echo twig_source($this->env, "@WebProfiler/Icon/messenger.svg");echo "</span><strong>Messages</strong>";// line 36if ((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", false, false, false, 36) > 0)) {// line 37echo " <span class=\"count\"><span>";// line 38echo twig_escape_filter($this->env, 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.', 38, $this->source); })()), "exceptionsCount", [], "any", false, false, false, 38), "html", null, true);echo "</span></span>";}// line 41echo " </span>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 44public function block_head($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));// line 45echo " ";$this->displayParentBlock("head", $context, $blocks);echo "<style>.message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }.message-item tbody tr td:first-child { width: 170px; }.message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none }.message-item .icon svg { height: 24px; width: 24px; }.message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }.message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }.message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }.message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }</style>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 63public function block_panel($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));// line 64echo " ";$macros["helper"] = $this;// line 65echo "<h2>Messages</h2>";// line 68if (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", false, false, false, 68))) {// line 69echo " <div class=\"empty empty-panel\"><p>No messages have been collected.</p></div>";} elseif ((1 == twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, // line 72(isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 72, $this->source); })()), "buses", [], "any", false, false, false, 72)))) {// line 73echo " <p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>";// line 74echo 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", false, false, false, 74), true], 74, $context, $this->getSourceContext());echo "";} else {// line 76echo " <div class=\"sf-tabs message-bus\"><div class=\"tab\">";// line 78$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", false, false, false, 78);// line 79echo " ";$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", false, false, false, 79);// line 80echo " <h3 class=\"tab-title\">All<span class=\"badge ";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"))) : (""));echo "\">";echo twig_escape_filter($this->env, 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); })())), "html", null, true);echo "</span></h3><div class=\"tab-content\"><p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>";// line 84echo 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());echo "</div></div>";// line 88$context['_parent'] = $context;$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", false, false, false, 88));foreach ($context['_seq'] as $context["_key"] => $context["bus"]) {// line 89echo " <div class=\"tab message-bus\">";// line 90$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", [0 => $context["bus"]], "method", false, false, false, 90);// line 91echo " ";$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", [0 => $context["bus"]], "method", false, false, false, 91);// line 92echo " <h3 class=\"tab-title\">";echo twig_escape_filter($this->env, $context["bus"], "html", null, true);echo "<span class=\"badge ";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"))) : (""));echo "\">";echo twig_escape_filter($this->env, 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); })())), "html", null, true);echo "</span></h3><div class=\"tab-content\"><p class=\"text-muted\">Ordered list of messages dispatched on the <code>";// line 95echo twig_escape_filter($this->env, $context["bus"], "html", null, true);echo "</code> bus</p>";// line 96echo 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());echo "</div></div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bus'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 100echo " </div>";}// line 102echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 105public function macro_render_bus_messages($__messages__ = null, $__showBus__ = false, ...$__varargs__){$macros = $this->macros;$context = $this->env->mergeGlobals(["messages" => $__messages__,"showBus" => $__showBus__,"varargs" => $__varargs__,]);$blocks = [];ob_start();try {$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_bus_messages"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_bus_messages"));// line 106echo " ";$context["discr"] = twig_random($this->env);// line 107echo " ";$context['_parent'] = $context;$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); })()));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["dispatchCall"]) {// line 108echo " <table class=\"message-item\"><thead><tr><th colspan=\"2\" class=\"sf-toggle\"data-toggle-selector=\"#message-item-";// line 112echo 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", null, true);echo "-";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 112), "html", null, true);echo "-details\"data-toggle-initial=\"";// line 113echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 113)) ? ("display") : (""));echo "\"><span class=\"dump-inline\">";// line 115echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "message", [], "any", false, false, false, 115), "type", [], "any", false, false, false, 115));echo "</span>";// line 116if (twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", true, true, false, 116)) {// line 117echo " <span class=\"label status-error\">exception</span>";}// line 119echo " <a class=\"toggle-button\"><span class=\"icon icon-close\">";// line 120echo twig_source($this->env, "@WebProfiler/images/icon-minus-square.svg");echo "</span><span class=\"icon icon-open\">";// line 121echo twig_source($this->env, "@WebProfiler/images/icon-plus-square.svg");echo "</span></a></th></tr></thead><tbody id=\"message-item-";// line 126echo 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", null, true);echo "-";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 126), "html", null, true);echo "-details\" class=\"sf-toggle-content\"><tr><th scope=\"row\" class=\"font-normal\">Caller</th><td class=\"message-bus-dispatch-caller\">In";// line 131$context["caller"] = twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "caller", [], "any", false, false, false, 131);// line 132echo " ";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", false, false, false, 132)) {// line 133echo " ";$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", false, false, false, 133), 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", false, false, false, 133));// line 134echo " ";if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 134, $this->source); })())) {// line 135echo " <a href=\"";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", null, true);echo "\" title=\"";echo twig_escape_filter($this->env, 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.', 135, $this->source); })()), "file", [], "any", false, false, false, 135), "html", null, true);echo "\">";echo twig_escape_filter($this->env, 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.', 135, $this->source); })()), "name", [], "any", false, false, false, 135), "html", null, true);echo "</a>";} else {// line 137echo " <abbr title=\"";echo twig_escape_filter($this->env, 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.', 137, $this->source); })()), "file", [], "any", false, false, false, 137), "html", null, true);echo "\">";echo twig_escape_filter($this->env, 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.', 137, $this->source); })()), "name", [], "any", false, false, false, 137), "html", null, true);echo "</abbr>";}// line 139echo " ";} else {// line 140echo " ";echo twig_escape_filter($this->env, 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.', 140, $this->source); })()), "name", [], "any", false, false, false, 140), "html", null, true);echo "";}// line 142echo " line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-";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", null, true);echo "-";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 142), "html", null, true);echo "\">";echo twig_escape_filter($this->env, 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.', 142, $this->source); })()), "line", [], "any", false, false, false, 142), "html", null, true);echo "</a><div class=\"hidden\" id=\"sf-trace-";// line 144echo 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", null, true);echo "-";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 144), "html", null, true);echo "\"><div class=\"trace\">";// line 146echo 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", false, false, false, 146), 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", false, false, false, 146)), ["#DD0000" => "var(--highlight-string)", "#007700" => "var(--highlight-keyword)", "#0000BB" => "var(--highlight-default)", "#FF8000" => "var(--highlight-comment)"]);// line 151echo "</div></div></td></tr>";// line 156if ((isset($context["showBus"]) || array_key_exists("showBus", $context) ? $context["showBus"] : (function () { throw new RuntimeError('Variable "showBus" does not exist.', 156, $this->source); })())) {// line 157echo " <tr><th scope=\"row\" class=\"font-normal\">Bus</th><td>";// line 159echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "bus", [], "any", false, false, false, 159), "html", null, true);echo "</td></tr>";}// line 162echo " <tr><th scope=\"row\" class=\"font-normal\">Message</th><td>";// line 164echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "message", [], "any", false, false, false, 164), "value", [], "any", false, false, false, 164), 2);echo "</td></tr><tr><th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th><td>";// line 169$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "stamps", [], "any", false, false, false, 169));$context['_iterated'] = false;foreach ($context['_seq'] as $context["_key"] => $context["item"]) {// line 170echo " ";echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["item"]);echo "";$context['_iterated'] = true;}if (!$context['_iterated']) {// line 172echo " <span class=\"text-muted font-normal\">No items</span>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 174echo " </td></tr>";// line 176if (twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "stamps_after_dispatch", [], "any", true, true, false, 176)) {// line 177echo " <tr><th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th><td>";// line 180$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "stamps_after_dispatch", [], "any", false, false, false, 180));$context['_iterated'] = false;foreach ($context['_seq'] as $context["_key"] => $context["item"]) {// line 181echo " ";echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["item"]);echo "";$context['_iterated'] = true;}if (!$context['_iterated']) {// line 183echo " <span class=\"text-muted\">No items</span>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 185echo " </td></tr>";}// line 188echo " ";if (twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", true, true, false, 188)) {// line 189echo " <tr><td class=\"text-bold\">Exception</td><td>";// line 192echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["dispatchCall"], "exception", [], "any", false, false, false, 192), "value", [], "any", false, false, false, 192), 1);echo "</td></tr>";}// line 196echo " </tbody></table>";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dispatchCall'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());} finally {ob_end_clean();}}public function getTemplateName(){return "@WebProfiler/Collector/messenger.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){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,);}public function getSourceContext(){return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}{% import _self as helper %}{% block toolbar %}{% if collector.messages|length > 0 %}{% set status_color = collector.exceptionsCount ? 'red' %}{% set icon %}{{ source('@WebProfiler/Icon/messenger.svg') }}<span class=\"sf-toolbar-value\">{{ collector.messages|length }}</span>{% endset %}{% set text %}{% for bus in collector.buses %}{% set exceptionsCount = collector.exceptionsCount(bus) %}<div class=\"sf-toolbar-info-piece\"><b>{{ bus }}</b><spantitle=\"{{ exceptionsCount }} message(s) with exceptions\"class=\"sf-toolbar-status sf-toolbar-status-{{ exceptionsCount ? 'red' }}\">{{ collector.messages(bus)|length }}</span></div>{% endfor %}{% endset %}{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: 'messenger', status: status_color }) }}{% endif %}{% endblock %}{% block menu %}<span class=\"label{{ collector.exceptionsCount ? ' label-status-error' }}{{ collector.messages is empty ? ' disabled' }}\"><span class=\"icon\">{{ source('@WebProfiler/Icon/messenger.svg') }}</span><strong>Messages</strong>{% if collector.exceptionsCount > 0 %}<span class=\"count\"><span>{{ collector.exceptionsCount }}</span></span>{% endif %}</span>{% endblock %}{% block head %}{{ parent() }}<style>.message-item thead th { position: relative; cursor: pointer; user-select: none; padding-right: 35px; }.message-item tbody tr td:first-child { width: 170px; }.message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none }.message-item .icon svg { height: 24px; width: 24px; }.message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }.message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }.message-bus .badge.status-some-errors { line-height: 16px; border-bottom: 2px solid #B0413E; }.message-item tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }</style>{% endblock %}{% block panel %}{% import _self as helper %}<h2>Messages</h2>{% if collector.messages is empty %}<div class=\"empty empty-panel\"><p>No messages have been collected.</p></div>{% elseif 1 == collector.buses|length %}<p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>{{ helper.render_bus_messages(collector.messages, true) }}{% else %}<div class=\"sf-tabs message-bus\"><div class=\"tab\">{% set messages = collector.messages %}{% set exceptionsCount = collector.exceptionsCount %}<h3 class=\"tab-title\">All<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3><div class=\"tab-content\"><p class=\"text-muted\">Ordered list of dispatched messages across all your buses</p>{{ helper.render_bus_messages(messages, true) }}</div></div>{% for bus in collector.buses %}<div class=\"tab message-bus\">{% set messages = collector.messages(bus) %}{% set exceptionsCount = collector.exceptionsCount(bus) %}<h3 class=\"tab-title\">{{ bus }}<span class=\"badge {{ exceptionsCount ? exceptionsCount == messages|length ? 'status-error' : 'status-some-errors' }}\">{{ messages|length }}</span></h3><div class=\"tab-content\"><p class=\"text-muted\">Ordered list of messages dispatched on the <code>{{ bus }}</code> bus</p>{{ helper.render_bus_messages(messages) }}</div></div>{% endfor %}</div>{% endif %}{% endblock %}{% macro render_bus_messages(messages, showBus = false) %}{% set discr = random() %}{% for dispatchCall in messages %}<table class=\"message-item\"><thead><tr><th colspan=\"2\" class=\"sf-toggle\"data-toggle-selector=\"#message-item-{{ discr }}-{{ loop.index0 }}-details\"data-toggle-initial=\"{{ loop.first ? 'display' }}\"><span class=\"dump-inline\">{{ profiler_dump(dispatchCall.message.type) }}</span>{% if dispatchCall.exception is defined %}<span class=\"label status-error\">exception</span>{% endif %}<a class=\"toggle-button\"><span class=\"icon icon-close\">{{ source('@WebProfiler/images/icon-minus-square.svg') }}</span><span class=\"icon icon-open\">{{ source('@WebProfiler/images/icon-plus-square.svg') }}</span></a></th></tr></thead><tbody id=\"message-item-{{ discr }}-{{ loop.index0 }}-details\" class=\"sf-toggle-content\"><tr><th scope=\"row\" class=\"font-normal\">Caller</th><td class=\"message-bus-dispatch-caller\">In{% set caller = dispatchCall.caller %}{% if caller.line %}{% set link = caller.file|file_link(caller.line) %}{% if link %}<a href=\"{{ link }}\" title=\"{{ caller.file }}\">{{ caller.name }}</a>{% else %}<abbr title=\"{{ caller.file }}\">{{ caller.name }}</abbr>{% endif %}{% else %}{{ caller.name }}{% endif %}line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ discr }}-{{ loop.index0 }}\">{{ caller.line }}</a><div class=\"hidden\" id=\"sf-trace-{{ discr }}-{{ loop.index0 }}\"><div class=\"trace\">{{ caller.file|file_excerpt(caller.line)|replace({'#DD0000': 'var(--highlight-string)','#007700': 'var(--highlight-keyword)','#0000BB': 'var(--highlight-default)','#FF8000': 'var(--highlight-comment)'})|raw }}</div></div></td></tr>{% if showBus %}<tr><th scope=\"row\" class=\"font-normal\">Bus</th><td>{{ dispatchCall.bus }}</td></tr>{% endif %}<tr><th scope=\"row\" class=\"font-normal\">Message</th><td>{{ profiler_dump(dispatchCall.message.value, maxDepth=2) }}</td></tr><tr><th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">when dispatching</span></th><td>{% for item in dispatchCall.stamps %}{{ profiler_dump(item) }}{% else %}<span class=\"text-muted font-normal\">No items</span>{% endfor %}</td></tr>{% if dispatchCall.stamps_after_dispatch is defined %}<tr><th scope=\"row\" class=\"font-normal\">Envelope stamps <span class=\"block text-muted\">after dispatch</span></th><td>{% for item in dispatchCall.stamps_after_dispatch %}{{ profiler_dump(item) }}{% else %}<span class=\"text-muted\">No items</span>{% endfor %}</td></tr>{% endif %}{% if dispatchCall.exception is defined %}<tr><td class=\"text-bold\">Exception</td><td>{{ profiler_dump(dispatchCall.exception.value, maxDepth=1) }}</td></tr>{% endif %}</tbody></table>{% endfor %}{% endmacro %}", "@WebProfiler/Collector/messenger.html.twig", "/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Collector/messenger.html.twig");}}