<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="web_profiler.debug_toolbar.class">Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener</parameter>
    </parameters>

    <services>
        <service id="web_profiler.debug_toolbar" class="%web_profiler.debug_toolbar.class%">
            <tag name="kernel.event_listener" event="kernel.response" method="onKernelResponse" priority="-128" />
            <argument type="service" id="templating.engine.twig" />
            <argument>%web_profiler.debug_toolbar.intercept_redirects%</argument>
            <argument>%web_profiler.debug_toolbar.mode%</argument>
            <argument>%web_profiler.debug_toolbar.position%</argument>
        </service>
    </services>
</container>
