{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% if collector.displayInWdt %}
{% set serviceCount = collector.serviceCount %}
{% set icon %}
{{ 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 %}
{{ service|default('#') }} |
{% for key, value in parameters %}
{{ key }} |
{{ value | yaml_dump }}
|
{% endfor %}
{% endfor %}
Container Services:
Name |
Class Name |
{% for service_id, service in collector.services %}
{{ service_id }} |
{% if service.class is defined %}
{{ service.class }}
{% elseif service.alias is defined %}
alias to {{ service.alias }}
{% endif %}
|
{% endfor %}
{% endif %}
{% endblock %}