{% extends "WebProfilerBundle:Profiler:layout.html.twig" %} {% block toolbar %} {% if collector.callCount == 0 %} {% set color = 'grey' %} {% elseif collector.errorCount > 0 %} {% set color = 'red' %} {% else %} {% set color = 'green' %} {% endif %} {% set icon %} {{ include("@Guzzle/Icons/logo.svg.twig") }} {{ collector.callCount }} {% endset %} {% set text %}
API Calls {{ collector.callCount }}
Total time {% if collector.totalTime > 1.0 %} {{ '%0.2f'|format(collector.totalTime) }} s {% else %} {{ '%0.0f'|format(collector.totalTime * 1000) }} ms {% endif %}
{% endset %} {% include "WebProfilerBundle:Profiler:toolbar_item.html.twig" with { "link": profiler_url } %} {% endblock %} {% block menu %} {{ include("@Guzzle/Icons/logo.svg.twig") }} Guzzle {{ collector.callCount }} {% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block panel %}

Logs

{% include 'GuzzleBundle::profiler.html.twig' with { 'collector': collector } %} {% endblock %}