<?xml version="1.0" ?>

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

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:csrf-protection enabled="true" />
        <framework:form>
            <framework:csrf-protection>
                <framework:field-attr name="data-foo">bar</framework:field-attr>
                <framework:field-attr name="data-bar">baz</framework:field-attr>
            </framework:csrf-protection>
        </framework:form>
        <framework:session storage-factory-id="session.storage.factory.native" />
    </framework:config>
</container>
