{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.displayInWdt %} {% set serviceCount = collector.serviceCount %} {% set icon %} Container {{ serviceCount }} Services {% endset %} {% set text %}
Services {{ serviceCount }}
Parameter
namespaces
{{ collector.parameters|length }}
{% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endif %} {% endblock %} {% block menu %} Container {{ collector.serviceCount }} {% endblock %} {% block panel %} {% if collector.services is empty %}
No debug container information
{% else %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if profiler_markup_version == 2 %}

Container metrics

{{ collector.serviceCount }} Services
{{ collector.parameters|length }} Parameters namespaces
{% endif %}

Container Parameters

{% for service, parameters in collector.parameters %} {% for key, value in parameters %} {% endfor %} {% endfor %}
{{ service|default('#') }}
{{ key }} {{ value | yaml_dump }}

Container Services:

{% for service_id, service in collector.services %} {% endfor %}
Name Class Name
{{ service_id }} {% if service.class is defined %} {{ service.class }} {% elseif service.alias is defined %} alias to {{ service.alias }} {% endif %}
{% endif %} {% endblock %}