<commit_before><?xml version="1.0" encoding="UTF-8" ?>

<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>
        <!-- Media -->
        <parameter key="sonata.media.admin.media.class">Networking\InitCmsBundle\Admin\Entity\MediaAdmin</parameter>
        <parameter key="sonata.media.admin.media.controller">NetworkingInitCmsBundle:MediaAdmin</parameter>
        <parameter key="sonata.media.admin.media.translation_domain">MediaAdmin</parameter>

        <!-- Gallery-->
        <parameter key="sonata.media.admin.gallery.class">Networking\InitCmsBundle\Admin\Entity\GalleryAdmin</parameter>
        <parameter key="sonata.media.admin.gallery.controller">NetworkingInitCmsBundle:GalleryAdmin</parameter>

    </parameters>


    <services>
        <service id="ibrows_sonata_translation.admin.orm"
                 class="Networking\InitCmsBundle\Admin\Entity\TranslationAdmin">
            <argument></argument>
            <argument>Lexik\Bundle\TranslationBundle\Entity\TransUnit</argument>
            <argument>NetworkingInitCmsBundle:TranslationCRUD</argument>
            <call method="setEditableOptions">
                <argument>%ibrows_sonata_translation.editable%</argument>
            </call>
            <call method="setTranslationDomain">
                <argument>IbrowsSonataTranslationBundle</argument>
            </call>
            <call method="setTransUnitManager">
                <argument type="service" id="lexik_translation.trans_unit.manager"/>
            </call>
            <call method="setManagedLocales">
                <argument>%lexik_translation.managed_locales%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm"  label="translation.title"
                 label_catalogue="IbrowsSonataTranslationBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore" persist_filters="true"/>
        </service>

        <service id="sonata.media.admin.media" class="%sonata.media.admin.media.class%">
            <argument></argument>
            <argument>%sonata.media.admin.media.entity%</argument>
            <argument>%sonata.media.admin.media.controller%</argument>
            <argument type="service" id="sonata.media.pool"/>
            <call method="setModelManager">
                <argument type="service" id="sonata.media.admin.media.manager"/>
            </call>
            <call method="setTranslationDomain">
                <argument>%sonata.media.admin.media.translation_domain%</argument>
            </call>
            <call method="setLanguages">
                <argument>%networking_init_cms.page.languages%</argument>
            </call>
            <call method="setTemplates">
                <argument type="collection">
                    <argument key="layout">NetworkingInitCmsBundle::admin_layout.html.twig</argument>
                    <argument key="list">NetworkingInitCmsBundle:MediaAdmin:list.html.twig</argument>
                    <argument key="edit">NetworkingInitCmsBundle:CRUD:edit.html.twig</argument>
                    <argument key="show">NetworkingInitCmsBundle:CRUD:show.html.twig</argument>
                    <argument key="ajax">NetworkingInitCmsBundle::ajax_layout.html.twig</argument>
                </argument>
            </call>
            <tag name="sonata.admin" manager_type="orm"  label="admin_label_media"
                 label_catalogue="%sonata.media.admin.media.translation_domain%"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"/>
        </service>

        <service id="sonata.media.admin.gallery" class="%sonata.media.admin.gallery.class%">
            <argument></argument>
            <argument>%sonata.media.admin.gallery.entity%</argument>
            <argument>%sonata.media.admin.gallery.controller%</argument>
            <argument type="service" id="sonata.media.pool"/>
            <call method="setTranslationDomain">
                <argument>%sonata.media.admin.media.translation_domain%</argument>
            </call>
            <call method="setTemplates">
                <argument type="collection">
                    <argument key="layout">NetworkingInitCmsBundle::admin_layout.html.twig</argument>
                    <argument key="list">NetworkingInitCmsBundle:GalleryAdmin:list.html.twig</argument>
                    <argument key="edit">NetworkingInitCmsBundle:GalleryAdmin:edit.html.twig</argument>
                    <argument key="show">NetworkingInitCmsBundle:CRUD:show.html.twig</argument>
                    <argument key="ajax">NetworkingInitCmsBundle::ajax_layout.html.twig</argument>
                </argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="admin_label_gallery"
                 label_catalogue="%sonata.media.admin.media.translation_domain%"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"/>
        </service>

        <service id="sonata.user.admin.user" class="%sonata.user.admin.user.class%">
            <argument></argument>
            <argument>%sonata.user.admin.user.entity%</argument>
            <argument>%sonata.user.admin.user.controller%</argument>
            <call method="setUserManager">
                <argument type="service" id="fos_user.user_manager"/>
            </call>
            <call method="setTranslationDomain">
                <argument>%sonata.user.admin.user.translation_domain%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="users"
                 label_catalogue="SonataUserBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"/>
        </service>

        <service id="sonata.user.admin.group" class="%sonata.user.admin.group.class%">
            <argument></argument>
            <argument>%sonata.user.admin.group.entity%</argument>
            <argument>%sonata.user.admin.group.controller%</argument>
            <call method="setTranslationDomain">
                <argument>%sonata.user.admin.group.translation_domain%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="groups"
                 label_catalogue="SonataUserBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"/>
        </service>
    </services>

</container><commit_msg>persist filters for external admin classes<commit_after><?xml version="1.0" encoding="UTF-8" ?>

<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>
        <!-- Media -->
        <parameter key="sonata.media.admin.media.class">Networking\InitCmsBundle\Admin\Entity\MediaAdmin</parameter>
        <parameter key="sonata.media.admin.media.controller">NetworkingInitCmsBundle:MediaAdmin</parameter>
        <parameter key="sonata.media.admin.media.translation_domain">MediaAdmin</parameter>

        <!-- Gallery-->
        <parameter key="sonata.media.admin.gallery.class">Networking\InitCmsBundle\Admin\Entity\GalleryAdmin</parameter>
        <parameter key="sonata.media.admin.gallery.controller">NetworkingInitCmsBundle:GalleryAdmin</parameter>

    </parameters>


    <services>
        <service id="ibrows_sonata_translation.admin.orm"
                 class="Networking\InitCmsBundle\Admin\Entity\TranslationAdmin">
            <argument></argument>
            <argument>Lexik\Bundle\TranslationBundle\Entity\TransUnit</argument>
            <argument>NetworkingInitCmsBundle:TranslationCRUD</argument>
            <call method="setEditableOptions">
                <argument>%ibrows_sonata_translation.editable%</argument>
            </call>
            <call method="setTranslationDomain">
                <argument>IbrowsSonataTranslationBundle</argument>
            </call>
            <call method="setTransUnitManager">
                <argument type="service" id="lexik_translation.trans_unit.manager"/>
            </call>
            <call method="setManagedLocales">
                <argument>%lexik_translation.managed_locales%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm"  label="translation.title"
                 label_catalogue="IbrowsSonataTranslationBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore" persist_filters="true"/>
        </service>

        <service id="sonata.media.admin.media" class="%sonata.media.admin.media.class%">
            <argument></argument>
            <argument>%sonata.media.admin.media.entity%</argument>
            <argument>%sonata.media.admin.media.controller%</argument>
            <argument type="service" id="sonata.media.pool"/>
            <call method="setModelManager">
                <argument type="service" id="sonata.media.admin.media.manager"/>
            </call>
            <call method="setTranslationDomain">
                <argument>%sonata.media.admin.media.translation_domain%</argument>
            </call>
            <call method="setLanguages">
                <argument>%networking_init_cms.page.languages%</argument>
            </call>
            <call method="setTemplates">
                <argument type="collection">
                    <argument key="layout">NetworkingInitCmsBundle::admin_layout.html.twig</argument>
                    <argument key="list">NetworkingInitCmsBundle:MediaAdmin:list.html.twig</argument>
                    <argument key="edit">NetworkingInitCmsBundle:CRUD:edit.html.twig</argument>
                    <argument key="show">NetworkingInitCmsBundle:CRUD:show.html.twig</argument>
                    <argument key="ajax">NetworkingInitCmsBundle::ajax_layout.html.twig</argument>
                </argument>
            </call>
            <tag name="sonata.admin" manager_type="orm"  label="admin_label_media"
                 label_catalogue="%sonata.media.admin.media.translation_domain%"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"
                 persist_filters="true"/>
        </service>

        <service id="sonata.media.admin.gallery" class="%sonata.media.admin.gallery.class%">
            <argument></argument>
            <argument>%sonata.media.admin.gallery.entity%</argument>
            <argument>%sonata.media.admin.gallery.controller%</argument>
            <argument type="service" id="sonata.media.pool"/>
            <call method="setTranslationDomain">
                <argument>%sonata.media.admin.media.translation_domain%</argument>
            </call>
            <call method="setTemplates">
                <argument type="collection">
                    <argument key="layout">NetworkingInitCmsBundle::admin_layout.html.twig</argument>
                    <argument key="list">NetworkingInitCmsBundle:GalleryAdmin:list.html.twig</argument>
                    <argument key="edit">NetworkingInitCmsBundle:GalleryAdmin:edit.html.twig</argument>
                    <argument key="show">NetworkingInitCmsBundle:CRUD:show.html.twig</argument>
                    <argument key="ajax">NetworkingInitCmsBundle::ajax_layout.html.twig</argument>
                </argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="admin_label_gallery"
                 label_catalogue="%sonata.media.admin.media.translation_domain%"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"
                 persist_filters="true"/>
        </service>

        <service id="sonata.user.admin.user" class="%sonata.user.admin.user.class%">
            <argument></argument>
            <argument>%sonata.user.admin.user.entity%</argument>
            <argument>%sonata.user.admin.user.controller%</argument>
            <call method="setUserManager">
                <argument type="service" id="fos_user.user_manager"/>
            </call>
            <call method="setTranslationDomain">
                <argument>%sonata.user.admin.user.translation_domain%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="users"
                 label_catalogue="SonataUserBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"
                 persist_filters="true"/>
        </service>

        <service id="sonata.user.admin.group" class="%sonata.user.admin.group.class%">
            <argument></argument>
            <argument>%sonata.user.admin.group.entity%</argument>
            <argument>%sonata.user.admin.group.controller%</argument>
            <call method="setTranslationDomain">
                <argument>%sonata.user.admin.group.translation_domain%</argument>
            </call>
            <tag name="sonata.admin" manager_type="orm" label="groups"
                 label_catalogue="SonataUserBundle"
                 label_translator_strategy="sonata.admin.label.strategy.underscore"
                 persist_filters="true"/>
        </service>
    </services>

</container>
{'fraction_non_alphanumeric': 0.13280608818921136, 'fraction_numerical': 0.0014922032380810266, 'mean_word_length': 2.5441565309360126, 'pattern_counts': {'":': 0, '<': 273, '<?xml version=': 2, '>': 273, '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': '5505609', 'n_tokens_mistral': 3692, 'n_tokens_neox': 3603, 'n_words': 366}