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

    <parameters>
        <parameter key="datagrid.factory.class">FSi\Component\DataGrid\DataGridFactory</parameter>
        <parameter key="datagrid.data_mapper.chain.class">FSi\Component\DataGrid\DataMapper\ChainMapper</parameter>
        <parameter key="datagrid.data_mapper.reflection.class">FSi\Component\DataGrid\DataMapper\ReflectionMapper</parameter>
        <parameter key="datagrid.data_mapper.property_accessor.class">FSi\Component\DataGrid\DataMapper\PropertyAccessorMapper</parameter>
        <parameter key="datagrid.extension.class">FSi\Component\DataGrid\Extension\Symfony\DependencyInjectionExtension</parameter>
    </parameters>

    <services>
        <service id="datagrid.extension" class="%datagrid.extension.class%">
            <argument type="service" id="service_container" />
            <!-- All services with tag "datagrid.column" are inserted here by DataGridPass -->
            <argument type="collection" />
            <!-- All services with tag "datagrid.column_extension" are inserted here by DataGridPass -->
            <argument type="collection" />
            <!-- All services with tag "datagrid.subscriber" are inserted here by DataGridPass -->
            <argument type="collection" />
            <tag name="datagrid.extension" alias="dependency_injection" />
        </service>

        <!-- DataMapper\Reflection -->
        <service id="datagrid.data_mapper.reflection" class="%datagrid.data_mapper.reflection.class%" />
        <!-- DataMapper\PropertyAccessorMapper -->
        <service id="datagrid.data_mapper.property_accessor" class="%datagrid.data_mapper.property_accessor.class%" />

        <!-- DataMapper\Chain -->
        <service id="datagrid.data_mapper.chain" class="%datagrid.data_mapper.chain.class%">
            <argument type="collection">
                <argument type="service" id="datagrid.data_mapper.property_accessor" />
                <argument type="service" id="datagrid.data_mapper.reflection" />
            </argument>
        </service>

        <!-- DataGridFactory -->
        <service id="datagrid.factory" class="%datagrid.factory.class%">
            <argument type="collection">
                <argument type="service" id="datagrid.extension" />
                <!--
                We don't need to be able to add more extensions.
                 * more columns can be registered with the datagrid.column tag
                 * more column extensions can be registered with the datagrid.column_extension tag
                 * more listeners can be registered with the datagrid.listener tag
                -->
            </argument>
            <argument type="service" id="datagrid.data_mapper.chain" />
        </service>

        <!-- CoreExtension -->
        <service id="datagrid.column.boolean" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Boolean">
            <tag name="datagrid.column" alias="boolean" />
        </service>
        <service id="datagrid.column.number" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Number">
            <tag name="datagrid.column" alias="number" />
        </service>
        <service id="datagrid.column.text" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Text">
            <tag name="datagrid.column" alias="text" />
        </service>
        <service id="datagrid.column.datetime" class="FSi\Component\DataGrid\Extension\Core\ColumnType\DateTime">
            <tag name="datagrid.column" alias="datetime" />
        </service>
        <service id="datagrid.column.money" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Money">
            <tag name="datagrid.column" alias="money" />
        </service>
        <service id="datagrid.column_extension.default" class="FSi\Component\DataGrid\Extension\Core\ColumnTypeExtension\DefaultColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="core.default"/>
        </service>
        <service id="datagrid.column_extension.value_format" class="FSi\Component\DataGrid\Extension\Core\ColumnTypeExtension\ValueFormatColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="core.value_format"/>
        </service>
        <service id="datagrid.subscriber.core.column_order" class="FSi\Component\DataGrid\Extension\Core\EventSubscriber\ColumnOrder">
            <tag name="datagrid.subscriber" alias="core.column_order"/>
        </service>
        <!-- CoreExtension -->

        <!-- DoctrineExtension -->
        <service id="datagrid.column.entity" class="FSi\Component\DataGrid\Extension\Doctrine\ColumnType\Entity">
            <tag name="datagrid.column" alias="entity" />
        </service>
        <service id="datagrid.column_extension.doctrine.value_format" class="FSi\Component\DataGrid\Extension\Doctrine\ColumnTypeExtension\ValueFormatColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="doctrine.value_format"/>
            <argument type="service" id="router" />
        </service>
        <!-- DoctrineExtension -->

        <!-- GedmoExtension -->
        <service id="datagrid.column.gedmo.tree" class="FSi\Component\DataGrid\Extension\Gedmo\ColumnType\Tree">
            <tag name="datagrid.column" alias="gedmo.tree" />
            <argument type="service" id="doctrine"/>
        </service>
        <!-- GedmoExtension -->

        <!-- SymfonyExtension -->
        <service id="datagrid.column.symfony.action" class="FSi\Component\DataGrid\Extension\Symfony\ColumnType\Action">
            <tag name="datagrid.column" alias="action" />
            <argument type="service" id="service_container"/>
        </service>
        <service id="datagrid.column_extension.symfony.form" class="FSi\Component\DataGrid\Extension\Symfony\ColumnTypeExtension\FormExtension">
            <tag name="datagrid.column_extension" alias="symfony.form"/>
            <argument type="service" id="form.factory" />
        </service>
        <service id="datagrid.subscriber.symfony.bindrequest" class="FSi\Component\DataGrid\Extension\Symfony\EventSubscriber\BindRequest">
            <tag name="datagrid.subscriber" alias="symfony.form.bindrequest"/>
        </service>
        <!-- SymfonyExtension -->

        <service id="datagrid.column_extension.view" class="FSi\Bundle\DataGridBundle\DataGrid\Extension\View\ColumnTypeExtension\ColumnViewOptionsExtension">
            <tag name="datagrid.column_extension" alias="datagrid.bundle.view"/>
        </service>
    </services>
</container><commit_msg>Updated Gedmo tree column type<commit_after><?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">

    <parameters>
        <parameter key="datagrid.factory.class">FSi\Component\DataGrid\DataGridFactory</parameter>
        <parameter key="datagrid.data_mapper.chain.class">FSi\Component\DataGrid\DataMapper\ChainMapper</parameter>
        <parameter key="datagrid.data_mapper.reflection.class">FSi\Component\DataGrid\DataMapper\ReflectionMapper</parameter>
        <parameter key="datagrid.data_mapper.property_accessor.class">FSi\Component\DataGrid\DataMapper\PropertyAccessorMapper</parameter>
        <parameter key="datagrid.extension.class">FSi\Component\DataGrid\Extension\Symfony\DependencyInjectionExtension</parameter>
    </parameters>

    <services>
        <service id="datagrid.extension" class="%datagrid.extension.class%">
            <argument type="service" id="service_container" />
            <!-- All services with tag "datagrid.column" are inserted here by DataGridPass -->
            <argument type="collection" />
            <!-- All services with tag "datagrid.column_extension" are inserted here by DataGridPass -->
            <argument type="collection" />
            <!-- All services with tag "datagrid.subscriber" are inserted here by DataGridPass -->
            <argument type="collection" />
            <tag name="datagrid.extension" alias="dependency_injection" />
        </service>

        <!-- DataMapper\Reflection -->
        <service id="datagrid.data_mapper.reflection" class="%datagrid.data_mapper.reflection.class%" />
        <!-- DataMapper\PropertyAccessorMapper -->
        <service id="datagrid.data_mapper.property_accessor" class="%datagrid.data_mapper.property_accessor.class%" />

        <!-- DataMapper\Chain -->
        <service id="datagrid.data_mapper.chain" class="%datagrid.data_mapper.chain.class%">
            <argument type="collection">
                <argument type="service" id="datagrid.data_mapper.property_accessor" />
                <argument type="service" id="datagrid.data_mapper.reflection" />
            </argument>
        </service>

        <!-- DataGridFactory -->
        <service id="datagrid.factory" class="%datagrid.factory.class%">
            <argument type="collection">
                <argument type="service" id="datagrid.extension" />
                <!--
                We don't need to be able to add more extensions.
                 * more columns can be registered with the datagrid.column tag
                 * more column extensions can be registered with the datagrid.column_extension tag
                 * more listeners can be registered with the datagrid.listener tag
                -->
            </argument>
            <argument type="service" id="datagrid.data_mapper.chain" />
        </service>

        <!-- CoreExtension -->
        <service id="datagrid.column.boolean" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Boolean">
            <tag name="datagrid.column" alias="boolean" />
        </service>
        <service id="datagrid.column.number" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Number">
            <tag name="datagrid.column" alias="number" />
        </service>
        <service id="datagrid.column.text" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Text">
            <tag name="datagrid.column" alias="text" />
        </service>
        <service id="datagrid.column.datetime" class="FSi\Component\DataGrid\Extension\Core\ColumnType\DateTime">
            <tag name="datagrid.column" alias="datetime" />
        </service>
        <service id="datagrid.column.money" class="FSi\Component\DataGrid\Extension\Core\ColumnType\Money">
            <tag name="datagrid.column" alias="money" />
        </service>
        <service id="datagrid.column_extension.default" class="FSi\Component\DataGrid\Extension\Core\ColumnTypeExtension\DefaultColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="core.default"/>
        </service>
        <service id="datagrid.column_extension.value_format" class="FSi\Component\DataGrid\Extension\Core\ColumnTypeExtension\ValueFormatColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="core.value_format"/>
        </service>
        <service id="datagrid.subscriber.core.column_order" class="FSi\Component\DataGrid\Extension\Core\EventSubscriber\ColumnOrder">
            <tag name="datagrid.subscriber" alias="core.column_order"/>
        </service>
        <!-- CoreExtension -->

        <!-- DoctrineExtension -->
        <service id="datagrid.column.entity" class="FSi\Component\DataGrid\Extension\Doctrine\ColumnType\Entity">
            <tag name="datagrid.column" alias="entity" />
        </service>
        <service id="datagrid.column_extension.doctrine.value_format" class="FSi\Component\DataGrid\Extension\Doctrine\ColumnTypeExtension\ValueFormatColumnOptionsExtension">
            <tag name="datagrid.column_extension" alias="doctrine.value_format"/>
            <argument type="service" id="router" />
        </service>
        <!-- DoctrineExtension -->

        <!-- GedmoExtension -->
        <service id="datagrid.column.gedmo_tree" class="FSi\Component\DataGrid\Extension\Gedmo\ColumnType\Tree">
            <tag name="datagrid.column" alias="gedmo_tree" />
            <argument type="service" id="doctrine"/>
        </service>
        <!-- GedmoExtension -->

        <!-- SymfonyExtension -->
        <service id="datagrid.column.symfony.action" class="FSi\Component\DataGrid\Extension\Symfony\ColumnType\Action">
            <tag name="datagrid.column" alias="action" />
            <argument type="service" id="service_container"/>
        </service>
        <service id="datagrid.column_extension.symfony.form" class="FSi\Component\DataGrid\Extension\Symfony\ColumnTypeExtension\FormExtension">
            <tag name="datagrid.column_extension" alias="symfony.form"/>
            <argument type="service" id="form.factory" />
        </service>
        <service id="datagrid.subscriber.symfony.bindrequest" class="FSi\Component\DataGrid\Extension\Symfony\EventSubscriber\BindRequest">
            <tag name="datagrid.subscriber" alias="symfony.form.bindrequest"/>
        </service>
        <!-- SymfonyExtension -->

        <service id="datagrid.column_extension.view" class="FSi\Bundle\DataGridBundle\DataGrid\Extension\View\ColumnTypeExtension\ColumnViewOptionsExtension">
            <tag name="datagrid.column_extension" alias="datagrid.bundle.view"/>
        </service>
    </services>
</container>
{'fraction_non_alphanumeric': 0.13845361583167806, 'fraction_numerical': 0.0013242109909512249, 'mean_word_length': 2.980673499267936, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 2, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4712445', 'n_tokens_mistral': 3792, 'n_tokens_neox': 3735, 'n_words': 537}