{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% block toolbar %}
{% set icon %}
{{ 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 %}
{{ name }} settings |
{% if name in ['Memcache', 'Redis'] %}
{% for ovalue in options.servers %}
Server |
{{ ovalue.server }}:{{ ovalue.port }} {% if ovalue.weight is defined %}(weight {{ ovalue.weight }}){% endif %} |
{% endfor %}
{% else %}
{% for oname, ovalue in options %}
{{ oname }} |
{% if oname == 'filePermissions' or oname == 'dirPermissions' %}
{{ "%o"|format(ovalue) }}
{% else %}
| {{ ovalue }} |
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
Query Record
Request Key |
Hit? |
Returned Value |
{% for query in details.queries %}
{{ query.key }} |
{{ query.hit }} |
{{ query.value }} |
{% endfor %}
{% endfor %}
{% endblock %}