<?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>
        <service id="sensio_framework_extra.view.guesser" class="Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser">
            <argument type="service" id="kernel" />
        </service>

        <service id="sensio_framework_extra.view.listener" class="Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener">
            <tag name="kernel.event_subscriber" />
            <tag name="container.service_subscriber" id="twig" />
            <argument type="service" id="sensio_framework_extra.view.guesser" />
            <call method="setContainer">
                <argument type="service" id="Psr\Container\ContainerInterface" on-invalid="ignore" />
            </call>
        </service>
    </services>
</container>
