{% extends app.request.isXmlHttpRequest ? 'WebProfilerBundle:Profiler:ajax_layout.html.twig' : 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% block toolbar %}
{% set profiler_markup_version = profiler_markup_version|default(1) %}
{% set icon %}
{% if profiler_markup_version == 1 %}
{% if collector.querycount > 0 %}
{% endif %}
{% if collector.invalidEntityCount > 0 %}
{% endif %}
{% else %}
{% if collector.querycount > 0 or collector.invalidEntityCount > 0 %}
{% set status = collector.invalidEntityCount > 0 ? 'red' : collector.querycount > 50 ? 'yellow' : '' %}
{{ include('@Doctrine/Collector/icon.svg') }}
{% if collector.querycount == 0 and collector.invalidEntityCount > 0 %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% endset %}
{% set text %}
No queries.
{% else %}
#▲ | Time | Info |
---|---|---|
{{ loop.index }} | {{ '%0.2f'|format(query.executionMS * 1000) }} ms |
[Display runnable query] {% if query.explainable %} [ |
No connections.
{% endif %}No entity managers.
{% endif %}No cache.
{% endif %}No loaded entities.
{% else %}Class | Mapping errors |
---|---|
{{ class }} |
{% if collector.mappingErrors[manager] is defined and collector.mappingErrors[manager][class] is defined %}
|