{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block toolbar %} {% if collector.callsCount > 0 %} {% set icon %} {{ source('@WebProfiler/Icon/workflow.svg') }} {{ collector.callsCount }} {% endset %} {% set text %}
Workflow Calls {{ collector.callsCount }}
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }} {% endif %} {% endblock %} {% block menu %} {{ source('@WebProfiler/Icon/workflow.svg') }} Workflow {% endblock %} {% block panel %}

Workflow

{% if collector.workflows|length == 0 %}

There are no workflows configured.

{% else %}
{% for name, data in collector.workflows %}

{{ name }}{% if data.calls|length %} ({{ data.calls|length }}){% endif %}

Definition

                            {{ data.dump|raw }}
                            {% for nodeId, events in data.listeners %}
                                click {{ nodeId }} showNodeDetails{{ collector.hash(name) }}
                            {% endfor %}
                        

Calls

{% for call in data.calls %} {% endfor %}
# Call Args Return Exception Duration
{{ loop.index }} {{ call.method }}() {% if call.previousMarking ?? null %}
Previous marking: {{ profiler_dump(call.previousMarking) }} {% endif %}
{{ profiler_dump(call.args) }} {% if call.return is defined %} {% if call.return is same as true %} true {% elseif call.return is same as false %} false {% else %} {{ profiler_dump(call.return) }} {% endif %} {% endif %} {% if call.exception is defined %} {{ profiler_dump(call.exception) }} {% endif %} {{ call.duration }}ms
{% endfor %}
{% endif %}

Event listeners ×

event listener
esc
{% endblock %}