source = $this->getSourceContext(); $this->blocks = [ 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], ]; } protected function doGetParent(array $context) { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/events.html.twig")); // line 3 $macros["helper"] = $this->macros["helper"] = $this; // line 1 $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/events.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 5 public function block_menu($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 6 echo " "; // line 7 echo twig_include($this->env, $context, "@WebProfiler/Icon/event.svg"); echo " Events "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 12 public function block_panel($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 13 echo "

Event Dispatcher

"; // line 15 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.', 15, $this->source); })()), "calledlisteners", [], "any", false, false, false, 15))) { // line 16 echo "

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

"; } else { // line 20 echo "

Called Listeners "; // line 22 echo 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); })()), "calledlisteners", [], "any", false, false, false, 22)), "html", null, true); echo "

"; // line 25 echo twig_call_macro($macros["helper"], "macro_render_table", [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.', 25, $this->source); })()), "calledlisteners", [], "any", false, false, false, 25)], 25, $context, $this->getSourceContext()); echo "

Not Called Listeners "; // line 30 echo 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.', 30, $this->source); })()), "notcalledlisteners", [], "any", false, false, false, 30)), "html", null, true); echo "

"; // line 32 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.', 32, $this->source); })()), "notcalledlisteners", [], "any", false, false, false, 32))) { // line 33 echo "

There are no uncalled listeners.

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

"; } else { // line 44 echo " "; echo twig_call_macro($macros["helper"], "macro_render_table", [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.', 44, $this->source); })()), "notcalledlisteners", [], "any", false, false, false, 44)], 44, $context, $this->getSourceContext()); echo " "; } // line 46 echo "
"; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 52 public function macro_render_table($__listeners__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "listeners" => $__listeners__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_table")); // line 53 echo " "; // line 61 $context["previous_event"] = twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 61, $this->source); })())), "event", [], "any", false, false, false, 61); // line 62 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["listeners"]) || array_key_exists("listeners", $context) ? $context["listeners"] : (function () { throw new RuntimeError('Variable "listeners" does not exist.', 62, $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 63 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 63) || (twig_get_attribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 63) != (isset($context["previous_event"]) || array_key_exists("previous_event", $context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.', 63, $this->source); })())))) { // line 64 echo " "; if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 64)) { // line 65 echo " "; } // line 67 echo " "; // line 73 $context["previous_event"] = twig_get_attribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 73); // line 74 echo " "; } // line 75 echo " "; // line 112 if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 112)) { // line 113 echo " "; } // line 115 echo " "; ++$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['listener'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 116 echo "
Priority Listener
"; // line 70 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "event", [], "any", false, false, false, 70), "html", null, true); echo "
"; // line 77 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["listener"], "priority", [], "any", true, true, false, 77)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["listener"], "priority", [], "any", false, false, false, 77), "-")) : ("-")), "html", null, true); echo " "; // line 79 if ((twig_get_attribute($this->env, $this->source, $context["listener"], "type", [], "any", false, false, false, 79) == "Closure")) { // line 80 echo " Closure (there is no class or file information) "; } elseif ((twig_get_attribute($this->env, $this->source, // line 84 $context["listener"], "type", [], "any", false, false, false, 84) == "Function")) { // line 85 echo " "; // line 86 $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, $context["listener"], "file", [], "any", false, false, false, 86), twig_get_attribute($this->env, $this->source, $context["listener"], "line", [], "any", false, false, false, 86)); // line 87 echo " "; if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 87, $this->source); })())) { // line 88 echo " env, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 88, $this->source); })()), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "function", [], "any", false, false, false, 88), "html", null, true); echo "() ("; // line 89 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "file", [], "any", false, false, false, 89), "html", null, true); echo ") "; } else { // line 91 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "function", [], "any", false, false, false, 91), "html", null, true); echo "() "; // line 92 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "file", [], "any", false, false, false, 92), "html", null, true); echo " (line "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "line", [], "any", false, false, false, 92), "html", null, true); echo ") "; } // line 94 echo " "; } elseif ((twig_get_attribute($this->env, $this->source, // line 95 $context["listener"], "type", [], "any", false, false, false, 95) == "Method")) { // line 96 echo " "; // line 97 $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, $context["listener"], "file", [], "any", false, false, false, 97), twig_get_attribute($this->env, $this->source, $context["listener"], "line", [], "any", false, false, false, 97)); // line 98 echo " "; $context["class_namespace"] = twig_join_filter(twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "class", [], "any", false, false, false, 98), "\\", -1), "\\"); // line 99 echo " "; // line 100 if ((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 100, $this->source); })())) { // line 101 echo " env, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 101, $this->source); })()), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, strip_tags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env, $this->source, $context["listener"], "class", [], "any", false, false, false, 101))), "html", null, true); echo "::"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "method", [], "any", false, false, false, 101), "html", null, true); echo "() ("; // line 102 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "class", [], "any", false, false, false, 102), "html", null, true); echo ") "; } else { // line 104 echo " "; echo twig_escape_filter($this->env, (isset($context["class_namespace"]) || array_key_exists("class_namespace", $context) ? $context["class_namespace"] : (function () { throw new RuntimeError('Variable "class_namespace" does not exist.', 104, $this->source); })()), "html", null, true); echo "\\"; echo twig_escape_filter($this->env, strip_tags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env, $this->source, $context["listener"], "class", [], "any", false, false, false, 104))), "html", null, true); echo "::"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "method", [], "any", false, false, false, 104), "html", null, true); echo "() "; // line 105 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "file", [], "any", false, false, false, 105), "html", null, true); echo " (line "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "line", [], "any", false, false, false, 105), "html", null, true); echo ") "; } // line 107 echo " "; } // line 109 echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "@WebProfiler/Collector/events.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 351 => 116, 337 => 115, 333 => 113, 331 => 112, 326 => 109, 322 => 107, 315 => 105, 306 => 104, 301 => 102, 292 => 101, 290 => 100, 287 => 99, 284 => 98, 282 => 97, 279 => 96, 277 => 95, 274 => 94, 267 => 92, 262 => 91, 257 => 89, 250 => 88, 247 => 87, 245 => 86, 242 => 85, 240 => 84, 234 => 80, 232 => 79, 227 => 77, 223 => 75, 220 => 74, 218 => 73, 212 => 70, 207 => 67, 203 => 65, 200 => 64, 197 => 63, 179 => 62, 177 => 61, 167 => 53, 151 => 52, 140 => 46, 134 => 44, 121 => 33, 119 => 32, 114 => 30, 106 => 25, 100 => 22, 96 => 20, 90 => 16, 88 => 15, 84 => 13, 77 => 12, 66 => 7, 63 => 6, 56 => 5, 48 => 1, 46 => 3, 36 => 1,); } public function getSourceContext() { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% block menu %} {{ include('@WebProfiler/Icon/event.svg') }} Events {% endblock %} {% block panel %}

Event Dispatcher

{% if collector.calledlisteners is empty %}

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

{% else %}

Called Listeners {{ collector.calledlisteners|length }}

{{ helper.render_table(collector.calledlisteners) }}

Not Called Listeners {{ collector.notcalledlisteners|length }}

{% if collector.notcalledlisteners is empty %}

There are no uncalled listeners.

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

{% else %} {{ helper.render_table(collector.notcalledlisteners) }} {% endif %}
{% endif %} {% 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('-') }} {% if listener.type == 'Closure' %} Closure (there is no class or file information) {% elseif listener.type == 'Function' %} {% set link = listener.file|file_link(listener.line) %} {% if link %} {{ listener.function }}() ({{ listener.file }}) {% else %} {{ listener.function }}() {{ listener.file }} (line {{ listener.line }}) {% endif %} {% elseif listener.type == \"Method\" %} {% set link = listener.file|file_link(listener.line) %} {% set class_namespace = listener.class|split('\\\\', -1)|join('\\\\') %} {% if link %} {{ listener.class|abbr_class|striptags }}::{{ listener.method }}() ({{ listener.class }}) {% else %} {{ class_namespace }}\\{{ listener.class|abbr_class|striptags }}::{{ listener.method }}() {{ listener.file }} (line {{ listener.line }}) {% endif %} {% endif %}
{% endmacro %} ", "@WebProfiler/Collector/events.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/events.html.twig"); } }