<?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 https://symfony.com/schema/dic/services/services-1.0.xsd">

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

        <service id="debug.event_dispatcher" class="Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher" decorates="event_dispatcher">
            <tag name="monolog.logger" channel="event" />
            <tag name="kernel.reset" method="reset" />
            <argument type="service" id="debug.event_dispatcher.inner" />
            <argument type="service" id="debug.stopwatch" />
            <argument type="service" id="logger" on-invalid="null" />
        </service>

        <service id="debug.controller_resolver" decorates="controller_resolver" class="Symfony\Component\HttpKernel\Controller\TraceableControllerResolver">
            <argument type="service" id="debug.controller_resolver.inner" />
            <argument type="service" id="debug.stopwatch" />
            <argument type="service" id="argument_resolver" />
        </service>

        <service id="debug.argument_resolver" decorates="argument_resolver" class="Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver">
            <argument type="service" id="debug.argument_resolver.inner" />
            <argument type="service" id="debug.stopwatch" />
        </service>
    </services>
</container>
