{% extends "@WebProfiler/Profiler/layout.html.twig" %} {% block toolbar %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if collector.callCount %} {% if collector.errorCount %} {% set color = 'red' %} {% else %} {% set color = 'green' %} {% endif %} {% set status_color = collector.errorCount ? 'red' : 'normal' %} {% set icon %} {# Symfony <2.8 toolbar #} {% if profiler_markup_version == 1 %} {{ include("@Guzzle/Icons/logo.svg.twig") }} {{ collector.callCount }} {% else %} {{ include("@Guzzle/Icons/logo.svg.twig") }} {{ collector.callCount }} {% endif %} {% 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 "@WebProfiler/Profiler/toolbar_item.html.twig" with { "link": profiler_url, status: status_color } %} {% endif %} {% endblock %} {% block menu %} {{ include("@Guzzle/Icons/logo.svg.twig") }} Guzzle {{ collector.callCount }} {% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block panel %}

Logs

{% include '@Guzzle/profiler.html.twig' with { 'collector': collector } %} {% endblock %}