{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {% set icon %} Memory Usage {{ collector.calls }} call{% if collector.calls != 1 %}s{% endif %} / {{ collector.hits }} hit{% if collector.hits != 1 %}s{% endif %} {% endset %} {% set text %}
Total Response {{ collector.calls }} / {{ collector.hits }}
Default Queue {{ collector.default }}
Av. Drivers {{ collector.drivers|join(', ') }}
{% for name, details in collector.caches %}
{{ name }} {{ details.calls }} / {{ details.hits }}
Drivers {{ details.options.drivers|join(', ') }}
{% endfor %} {% endset %} {% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Stash {{ collector.calls }} / {{ collector.hits }} {% endblock %} {% block panel %}

Cache Information

Default Cache {{ collector.default }}
Available Drivers {{ collector.drivers|join(', ') }}
Total Requests {{ collector.calls }}
Total Hits {{ collector.hits }}
{% for name, details in collector.caches %}

Cache Service: {{ name }}

Drivers {{ details.options.drivers|join(', ') }}
Calls {{ details.calls }}
Hits {{ details.hits }}
Doctrine Adapter {{ details.options.registerDoctrineAdapter ? 'true' : 'false' }}
Cache In-Memory {{ details.options.inMemory ? 'true' : 'false' }}

Driver Options

{% for name, options in details.options %} {% if name != 'drivers' and name in details.options.drivers %} {% if name in ['Memcache', 'Redis'] %} {% for ovalue in options.servers %} {% endfor %} {% else %} {% for oname, ovalue in options %} {% if oname == 'filePermissions' or oname == 'dirPermissions' %} {% endif %} {% endfor %} {% endif %} {% endif %} {% endfor %}

{{ name }} settings

Server {{ ovalue.server }}:{{ ovalue.port }} {% if ovalue.weight is defined %}(weight {{ ovalue.weight }}){% endif %}
{{ oname }}{{ "%o"|format(ovalue) }} {% else %} {{ ovalue }}

Query Record

{% for query in details.queries %} {% endfor %}
Request Key Hit? Returned Value
{{ query.key }} {{ query.hit }} {{ query.value }}
{% endfor %} {% endblock %}