<?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="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension">
            <argument type="collection">
                <argument type="service" id="service_container" />
                <argument>twig.form.renderer</argument>
            </argument>
        </service>

        <service id="twig.form.engine" class="Symfony\Bridge\Twig\Form\TwigRendererEngine">
            <argument>%twig.form.resources%</argument>
            <argument type="service" id="twig" />
        </service>

        <service id="twig.form.renderer" class="Symfony\Component\Form\FormRenderer">
            <argument type="service" id="twig.form.engine" />
            <argument type="service" id="security.csrf.token_manager" on-invalid="null" />
            <tag name="twig.runtime" />
        </service>
    </services>
</container>
