{% extends app.request.isXmlHttpRequest ? 'WebProfilerBundle:Profiler:ajax_layout.html.twig' : 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {% set icon %}
{% if collector.querycount > 0 %} {% endif %} {% if collector.invalidEntityCount > 0 %} {% endif %} {% endset %} {% set text %} {% endset %} {% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Doctrine {{ collector.querycount }} {{ '%0.0f'|format(collector.time * 1000) }} ms {% endblock %} {% block panel %} {% if 'explain' == page %} {{ render(controller('DoctrineBundle:Profiler:explain', { 'token': token, 'panel': 'db', 'connectionName': app.request.query.get('connection'), 'query': app.request.query.get('query') })) }} {% else %} {{ block('queries') }} {% endif %} {% endblock %} {% block queries %}No queries.
{% else %}
{{ query.sql|doctrine_pretty_query(i, loop.parent.loop.index)|raw }}
Parameters: {{ query.params|yaml_encode }} No connections.
{% endif %}No entity managers.
{% endif %}No loaded entities.
{% else %}Class | Mapping errors |
---|---|
{{ class }} |
{% if collector.mappingErrors[manager][class] is defined %}
|