{% 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') }}
{% endset %} {% set text %} {% for bus in collector.buses %} {% set exceptionsCount = collector.exceptionsCount(bus) %} {% endfor %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: 'messenger', status: status_color }) }} {% endif %} {% endblock %} {% block menu %} {% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block panel %} {% import _self as helper %}No messages have been collected.
Ordered list of dispatched messages across all your buses
{{ helper.render_bus_messages(collector.messages, true) }} {% else %} {% endif %} {% endblock %} {% macro render_bus_messages(messages, showBus = false) %} {% set discr = random() %} {% for dispatchCall in messages %} {% endfor %} {% endmacro %}