{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {% set icon %} Request {% endset %} {% set text %} {% spaceless %} {% if collector.controller.class is defined %} {{ collector.controller.class|abbr_class }} :: {% set link = collector.controller.file|file_link(collector.controller.line) %} {% if link %}{{ collector.controller.method }}{% else %}{{ collector.controller.method }}{% endif %} {% else %} {{ collector.controller }} {% endif %} | {{ collector.route ? collector.route : 'NONE' }} | {{ collector.statuscode }} {% endspaceless %} {% endset %} {% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Request Request {% endblock %} {% block panel %}

Request GET Parameters

{% if collector.requestquery.all|length %} {% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestquery } only %} {% else %}

No GET parameters

{% endif %}

Request POST Parameters

{% if collector.requestrequest.all|length %} {% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestrequest } only %} {% else %}

No POST parameters

{% endif %}

Request Attributes

{% if collector.requestattributes.all|length %} {% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestattributes } only %} {% else %}

No attributes

{% endif %}

Request Cookies

{% if collector.requestcookies.all|length %} {% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestcookies } only %} {% else %}

No cookies

{% endif %}

Request Headers

{% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestheaders } only %}

Request Content

{% if collector.content == false %} Request content not available (it was retrieved as a resource). {% elseif collector.content %}

{{ collector.content }}
{% else %} No content {% endif %}

Request Server Parameters

{% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.requestserver } only %}

Response Headers

{% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': collector.responseheaders } only %}

Session Attributes

{% if collector.sessionattributes|length %} {% set attributes = collector.sessionattributes %} {% for key in attributes|keys|sort %} {% endfor %}
Key Value
{{ key }} {{ attributes[key]|yaml_dump }}
{% else %}

No session attributes

{% endif %} {% if profile.parent %}

Parent request: {{ profile.parent.token }}

{% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': profile.parent.getcollector('request').requestattributes } only %} {% endif %} {% if profile.children|length %}

Sub requests

{% for child in profile.children %}

{{ child.token }}

{% include 'WebProfilerBundle:Profiler:bag.html.twig' with { 'bag': child.getcollector('request').requestattributes } only %} {% endfor %} {% endif %} {% endblock %}