{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block menu %} {{ source('@WebProfiler/Icon/command.svg') }} Console Command {% endblock %} {% block panel %}

{% set command = collector.command %} {% if command.executor is defined %} {{ command.executor|abbr_method }} {% else %} {{ command.class|abbr_class }} {% endif %}

Command

{{ collector.duration }} Duration
{{ collector.maxMemoryUsage }} Peak Memory Usage
{{ collector.verbosityLevel }} Verbosity Level
{{ source('@WebProfiler/Icon/' ~ (collector.signalable is not empty ? 'yes' : 'no') ~ '.svg') }} Signalable
{{ source('@WebProfiler/Icon/' ~ (collector.interactive ? 'yes' : 'no') ~ '.svg') }} Interactive
{{ source('@WebProfiler/Icon/' ~ (collector.validateInput ? 'yes' : 'no') ~ '.svg') }} Validate Input
{{ source('@WebProfiler/Icon/' ~ (collector.enabled ? 'yes' : 'no') ~ '.svg') }} Enabled
{{ source('@WebProfiler/Icon/' ~ (collector.visible ? 'yes' : 'no') ~ '.svg') }} Visible

Arguments

{% if collector.arguments is empty %}

No arguments were set

{% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.arguments, labels: ['Argument', 'Value'], maxDepth: 2 }, with_context=false) }} {% endif %}

Options

{% if collector.options is empty %}

No options were set

{% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.options, labels: ['Option', 'Value'], maxDepth: 2 }, with_context=false) }} {% endif %} {% if collector.interactive %}

Interactive Inputs

The values which have been set interactively.

{% if collector.interactiveInputs is empty %}

No inputs were set

{% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.interactiveInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }} {% endif %} {% endif %}

Application inputs

{% if collector.applicationInputs is empty %}

No application inputs are set

{% else %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.applicationInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }} {% endif %}

Input / Output

Input {{ profiler_dump(collector.input) }}
Output {{ profiler_dump(collector.output) }}

Helper Set

{% if collector.helperSet is empty %}

No helpers

{% else %} {% for helper in collector.helperSet|sort %} {% endfor %}
Helpers
{{ profiler_dump(helper) }}
{% endif %}
{% set request_collector = profile.collectors.request %}

Server Parameters

Server Parameters

Defined in .env

{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: request_collector.dotenvvars }, with_context = false) }}

Defined as regular env variables

{% set requestserver = [] %} {% for key, value in request_collector.requestserver|filter((_, key) => key not in request_collector.dotenvvars.keys) %} {% set requestserver = requestserver|merge({(key): value}) %} {% endfor %} {{ include('@WebProfiler/Profiler/table.html.twig', { data: requestserver }, with_context = false) }}
{% if collector.signalable is not empty %}

Signals

Subscribed signals

{{ collector.signalable|join(', ') }}

Handled signals

{% if collector.handledSignals is empty %}

No signals handled

{% else %} {% for signal, data in collector.handledSignals %} {% endfor %}
Signal Times handled Total execution time Memory peak
{{ signal }} {{ data.handled }} {{ data.duration }} ms {{ data.memory }} MiB
{% endif %}
{% endif %} {% if profile.parent %}

Parent Command

Return to parent command (token = {{ profile.parent.token }})

{{ profile.parent.url }}
{% endif %} {% if profile.children|length %}

Sub Commands {{ profile.children|length }}

{% for child in profile.children %}

{{ child.url }} (token = {{ child.token }})

{% endfor %}
{% endif %}
{% endblock %}