*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $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/events.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/events.html.twig")); $this->parent = $this->load("@WebProfiler/Profiler/layout.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); } // line 3 /** * @return iterable */ public function block_menu(array $context, array $blocks = []): iterable { $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 4 yield " "; // line 5 yield Twig\Extension\CoreExtension::source($this->env, "@WebProfiler/Icon/event.svg"); yield " Events "; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 10 /** * @return iterable */ public function block_panel(array $context, array $blocks = []): iterable { $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 11 yield "

Dispatched Events

"; // line 14 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($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); })()), "data", [], "any", false, false, false, 14)); foreach ($context['_seq'] as $context["dispatcherName"] => $context["dispatcherData"]) { // line 15 yield "

"; // line 16 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["dispatcherName"], "html", null, true); yield "

"; // line 18 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 18))) { // line 19 yield "

No events have been recorded. Check that debugging is enabled in the kernel.

"; } else { // line 23 yield "

Called Listeners "; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 25)), "html", null, true); yield "

"; // line 28 yield $this->getTemplateForMacro("macro_render_table", $context, 28, $this->getSourceContext())->macro_render_table(...[CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "called_listeners", [], "array", false, false, false, 28)]); yield "

Not Called Listeners "; // line 33 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 33)), "html", null, true); yield "

"; // line 35 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 35))) { // line 36 yield "

There are no uncalled listeners.

All listeners were called or an error occurred when trying to collect uncalled listeners (in which case check the logs to get more information).

"; } else { // line 47 yield " "; yield $this->getTemplateForMacro("macro_render_table", $context, 47, $this->getSourceContext())->macro_render_table(...[CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "not_called_listeners", [], "array", false, false, false, 47)]); yield " "; } // line 49 yield "

Orphaned Events "; // line 53 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 53)), "html", null, true); yield "

"; // line 55 if (Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 55))) { // line 56 yield "

There are no orphaned events.

All dispatched events were handled or an error occurred when trying to collect orphaned events (in which case check the logs to get more information).

"; } else { // line 67 yield " "; // line 74 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["dispatcherData"], "orphaned_events", [], "array", false, false, false, 74)); foreach ($context['_seq'] as $context["_key"] => $context["event"]) { // line 75 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['event'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 79 yield "
Event
"; // line 76 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["event"], "html", null, true); yield "
"; } // line 82 yield "
"; } // line 86 yield "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['dispatcherName'], $context['dispatcherData'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 89 yield "
"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 92 public function macro_render_table($listeners = null, ...$varargs): string|Markup { $macros = $this->macros; $context = [ "listeners" => $listeners, "varargs" => $varargs, ] + $this->env->getGlobals(); $blocks = []; return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table")); // line 93 yield " "; // line 101 $context["previous_event"] = CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), (isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 101, $this->source); })())), "event", [], "any", false, false, false, 101); // line 102 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable((isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 102, $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["listener"]) { // line 103 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 103) || (CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 103) != (isset($context["previous_event"]) || array_key_exists("previous_event", $context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.', 103, $this->source); })())))) { // line 104 yield " "; if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 104)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 105 yield " "; } // line 107 yield " "; // line 113 $context["previous_event"] = CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 113); // line 114 yield " "; } // line 115 yield " "; // line 121 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 121)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 122 yield " "; } // line 124 yield " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 125 yield "
Priority Listener
"; // line 110 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 110), "html", null, true); yield "
"; // line 117 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "priority", [], "any", true, true, false, 117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "priority", [], "any", false, false, false, 117), "-")) : ("-")), "html", null, true); yield " "; // line 118 yield $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["listener"], "stub", [], "any", false, false, false, 118)); yield "
"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; })())) ? '' : new Markup($tmp, $this->env->getCharset()); } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@WebProfiler/Collector/events.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 367 => 125, 353 => 124, 349 => 122, 347 => 121, 341 => 118, 337 => 117, 333 => 115, 330 => 114, 328 => 113, 322 => 110, 317 => 107, 313 => 105, 310 => 104, 307 => 103, 289 => 102, 287 => 101, 277 => 93, 259 => 92, 247 => 89, 239 => 86, 233 => 82, 228 => 79, 219 => 76, 216 => 75, 212 => 74, 203 => 67, 190 => 56, 188 => 55, 183 => 53, 177 => 49, 171 => 47, 158 => 36, 156 => 35, 151 => 33, 143 => 28, 137 => 25, 133 => 23, 127 => 19, 125 => 18, 120 => 16, 117 => 15, 113 => 14, 108 => 11, 95 => 10, 80 => 5, 77 => 4, 64 => 3, 41 => 1,); } public function getSourceContext(): Source { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block menu %} {{ source('@WebProfiler/Icon/event.svg') }} Events {% endblock %} {% block panel %}

Dispatched Events

{% for dispatcherName, dispatcherData in collector.data %}

{{ dispatcherName }}

{% if dispatcherData['called_listeners'] is empty %}

No events have been recorded. Check that debugging is enabled in the kernel.

{% else %}

Called Listeners {{ dispatcherData['called_listeners']|length }}

{{ _self.render_table(dispatcherData['called_listeners']) }}

Not Called Listeners {{ dispatcherData['not_called_listeners']|length }}

{% if dispatcherData['not_called_listeners'] is empty %}

There are no uncalled listeners.

All listeners were called or an error occurred when trying to collect uncalled listeners (in which case check the logs to get more information).

{% else %} {{ _self.render_table(dispatcherData['not_called_listeners']) }} {% endif %}

Orphaned Events {{ dispatcherData['orphaned_events']|length }}

{% if dispatcherData['orphaned_events'] is empty %}

There are no orphaned events.

All dispatched events were handled or an error occurred when trying to collect orphaned events (in which case check the logs to get more information).

{% else %} {% for event in dispatcherData['orphaned_events'] %} {% endfor %}
Event
{{ event }}
{% endif %}
{% endif %}
{% endfor %}
{% endblock %} {% macro render_table(listeners) %} {% set previous_event = (listeners|first).event %} {% for listener in listeners %} {% if loop.first or listener.event != previous_event %} {% if not loop.first %} {% endif %} {% set previous_event = listener.event %} {% endif %} {% if loop.last %} {% endif %} {% endfor %}
Priority Listener
{{ listener.event }}
{{ listener.priority|default('-') }} {{ profiler_dump(listener.stub) }}
{% endmacro %} ", "@WebProfiler/Collector/events.html.twig", "/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Collector/events.html.twig"); } }