<commit_before>parameters:
    oro_entity_config.importexport.data_converter.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\DataConverter\EntityFieldDataConverter
    oro_entity_config.importexport.normalizer.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\Serializer\EntityFieldNormalizer
    oro_entity_config.importexport.strategy.entity_field.add_or_replace.class: Oro\Bundle\EntityConfigBundle\ImportExport\Strategy\EntityFieldImportStrategy
    oro_entity_config.importexport.template_fixture.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\TemplateFixture\EntityFieldFixture

services:
    # Converter
    oro_entity_config.importexport.data_converter.entity_field:
        parent: @oro_importexport.data_converter.configurable
        class: %oro_entity_config.importexport.data_converter.entity_field.class%
        arguments:
            - @oro_entity_extend.field_type_provider
            - @oro_entity_config.config_manager

    # Strategy
    oro_entity_config.importexport.strategy.entity_field.add_or_replace:
        class: %oro_entity_config.importexport.strategy.entity_field.add_or_replace.class%
        parent: oro_importexport.strategy.configurable_add_or_replace
        calls:
            - [setTranslator, [@translator]]

    # Template Fixture
    oro_entity_config.importexport.template_fixture.entity_field:
        class: %oro_entity_config.importexport.template_fixture.entity_field.class%
        tags:
            - { name: oro_importexport.template_fixture }

    # Import processor
    oro_entity_config.importexport.processor.import.entity_field:
        parent: oro_importexport.processor.import_abstract
        calls:
             - [setDataConverter, [@oro_entity_config.importexport.data_converter.entity_field]]
             - [setStrategy, [@oro_entity_config.importexport.strategy.entity_field.add_or_replace]]
        tags:
            - { name: oro_importexport.processor, type: import, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field.add_or_replace }
            - { name: oro_importexport.processor, type: import_validation, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field.add_or_replace }

    # Export template
    oro_entity_config.importexport.processor.export_template.entity_field:
        parent: oro_importexport.processor.export_abstract
        calls:
            - [setDataConverter, [@oro_entity_config.importexport.data_converter.entity_field]]
        tags:
            - { name: oro_importexport.processor, type: export_template, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field }

    oro_entity_config.importexport.normalizer.entityfield:
        parent: oro_importexport.serializer.configurable_entity_normalizer
        class: %oro_entity_config.importexport.normalizer.entity_field.class%
        calls:
            - [setRegistry, [@doctrine]]
        tags:
            - { name: oro_importexport.normalizer, priority: 20 }
<commit_msg>BB-1355: Generate template fixture for all entity field types<commit_after>parameters:
    oro_entity_config.importexport.data_converter.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\DataConverter\EntityFieldDataConverter
    oro_entity_config.importexport.normalizer.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\Serializer\EntityFieldNormalizer
    oro_entity_config.importexport.strategy.entity_field.add_or_replace.class: Oro\Bundle\EntityConfigBundle\ImportExport\Strategy\EntityFieldImportStrategy
    oro_entity_config.importexport.template_fixture.entity_field.class: Oro\Bundle\EntityConfigBundle\ImportExport\TemplateFixture\EntityFieldFixture

services:
    # Converter
    oro_entity_config.importexport.data_converter.entity_field:
        parent: oro_importexport.data_converter.configurable
        class: %oro_entity_config.importexport.data_converter.entity_field.class%
        arguments:
            - @oro_entity_extend.field_type_provider
            - @oro_entity_config.config_manager

    # Strategy
    oro_entity_config.importexport.strategy.entity_field.add_or_replace:
        class: %oro_entity_config.importexport.strategy.entity_field.add_or_replace.class%
        parent: oro_importexport.strategy.configurable_add_or_replace
        calls:
            - [setTranslator, [@translator]]

    # Template Fixture
    oro_entity_config.importexport.template_fixture.entity_field:
        class: %oro_entity_config.importexport.template_fixture.entity_field.class%
        tags:
            - { name: oro_importexport.template_fixture }

    # Import processor
    oro_entity_config.importexport.processor.import.entity_field:
        parent: oro_importexport.processor.import_abstract
        calls:
             - [setDataConverter, [@oro_entity_config.importexport.data_converter.entity_field]]
             - [setStrategy, [@oro_entity_config.importexport.strategy.entity_field.add_or_replace]]
        tags:
            - { name: oro_importexport.processor, type: import, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field.add_or_replace }
            - { name: oro_importexport.processor, type: import_validation, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field.add_or_replace }

    # Export template
    oro_entity_config.importexport.processor.export_template.entity_field:
        parent: oro_importexport.processor.export_abstract
        calls:
            - [setDataConverter, [@oro_entity_config.importexport.data_converter.entity_field]]
        tags:
            - { name: oro_importexport.processor, type: export_template, entity: %oro_entity_config.entity.entity_field.class%, alias: oro_entity_config_entity_field }

    oro_entity_config.importexport.normalizer.entityfield:
        parent: oro_importexport.serializer.configurable_entity_normalizer
        class: %oro_entity_config.importexport.normalizer.entity_field.class%
        calls:
            - [setRegistry, [@doctrine]]
        tags:
            - { name: oro_importexport.normalizer, priority: 20 }

{'fraction_non_alphanumeric': 0.07897699855235644, 'fraction_numerical': 0.0012867942737654818, 'mean_word_length': 4.13036303630363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2370494', 'n_tokens_mistral': 1831, 'n_tokens_neox': 1788, 'n_words': 194}