<?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">

    <services>
        <defaults public="false" />

        <service id="data_collector.config" class="Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/config.html.twig" id="config" priority="-255" />
            <call method="setKernel"><argument type="service" id="kernel" on-invalid="ignore" /></call>
        </service>

        <service id="data_collector.request" class="Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector" public="true">
            <tag name="kernel.event_subscriber" />
            <tag name="data_collector" template="@WebProfiler/Collector/request.html.twig" id="request" priority="335" />
        </service>

        <service id="data_collector.ajax" class="Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/ajax.html.twig" id="ajax" priority="315" />
        </service>

        <service id="data_collector.exception" class="Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/exception.html.twig" id="exception" priority="305" />
        </service>

        <service id="data_collector.events" class="Symfony\Component\HttpKernel\DataCollector\EventDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/events.html.twig" id="events" priority="290" />
            <argument type="service" id="event_dispatcher" on-invalid="ignore" />
        </service>

        <service id="data_collector.logger" class="Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/logger.html.twig" id="logger" priority="300" />
            <tag name="monolog.logger" channel="profiler" />
            <argument type="service" id="logger" on-invalid="ignore" />
            <argument>%kernel.cache_dir%/%kernel.container_class%</argument>
        </service>

        <service id="data_collector.time" class="Symfony\Component\HttpKernel\DataCollector\TimeDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/time.html.twig" id="time" priority="330" />
            <argument type="service" id="kernel" on-invalid="ignore" />
            <argument type="service" id="debug.stopwatch" on-invalid="ignore" />
        </service>

        <service id="data_collector.memory" class="Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector">
            <tag name="data_collector" template="@WebProfiler/Collector/memory.html.twig" id="memory" priority="325" />
        </service>

        <service id="data_collector.router" class="Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector" public="true">
            <tag name="kernel.event_listener" event="kernel.controller" method="onKernelController"/>
            <tag name="data_collector" template="@WebProfiler/Collector/router.html.twig" id="router" priority="285" />
        </service>
    </services>
</container>
