<commit_before>parameters:
    oro_requirejs.twig.class:             Oro\Bundle\RequireJSBundle\Twig\OroRequireJSExtension
    oro_requirejs.provider.config.class:  Oro\Bundle\RequireJSBundle\Provider\Config

services:
    oro_requirejs.twig.requirejs_extension:
        class:                            %oro_requirejs.twig.class%
        arguments:
            - "@service_container"
        tags:
            - { name: twig.extension }

    oro_requirejs.cache:
          parent: oro.cache.abstract
          calls:
              - [setNamespace, [ 'oro_requirejs' ] ]

    oro_requirejs_config_provider:
        class: %oro_requirejs.provider.config.class%
        arguments:
            - '@service_container'
            - '@templating'
            - OroRequireJSBundle::require_config.js.twig
        calls:
            - [ setCache, [ '@oro_requirejs.cache' ] ]
        lazy: true

    oro_layout.provider.requirejs_config:
            class: Oro\Bundle\LayoutBundle\Provider\RequireJSConfigProvider
            arguments:
                - '@templating'
                - '@oro_requirejs.cache'
                - '%oro_require_js%'
                - '%kernel.bundles%'
                - '%oro_require_js.web_root%'
            calls:
                - [ setThemeManager, [ '@oro_layout.theme_manager' ] ]
                - [ setActiveTheme, [ '%oro_layout.default_active_theme%' ] ]
            tags:
                - { name: requirejs.config_provider, alias: oro_layout_requirejs_config_provider }
            lazy: true<commit_msg>BB-3558: Refactor RequireJSBundle Config Provider - renamed requirejs config provider service id and tag alias<commit_after>parameters:
    oro_requirejs.twig.class:             Oro\Bundle\RequireJSBundle\Twig\OroRequireJSExtension
    oro_requirejs.provider.config.class:  Oro\Bundle\RequireJSBundle\Provider\Config

services:
    oro_requirejs.twig.requirejs_extension:
        class: Oro\Bundle\RequireJSBundle\Twig\OroRequireJSExtension
        arguments:
            - '@oro_requirejs.config_provider.manager'
            - '%oro_require_js.web_root%'
        tags:
            - { name: twig.extension }

    oro_requirejs.cache:
          parent: oro.cache.abstract
          calls:
              - [setNamespace, [ 'oro_requirejs' ] ]

    oro_requirejs_config_provider:
        class: %oro_requirejs.provider.config.class%
        arguments:
            - '@service_container'
            - '@templating'
            - OroRequireJSBundle::require_config.js.twig
        calls:
            - [ setCache, [ '@oro_requirejs.cache' ] ]
        lazy: true

    oro_requirejs.config_provider.manager:
        class: Oro\Bundle\RequireJSBundle\Manager\ConfigProviderManager

    oro_requirejs.provider.requirejs_config:
        class: Oro\Bundle\RequireJSBundle\Provider\ConfigProvider
        arguments:
            - '@templating'
            - '@oro_requirejs.cache'
            - '%oro_require_js%'
            - '%kernel.bundles%'
            - '%oro_require_js.web_root%'
        tags:
            - { name: requirejs.config_provider, alias: oro_requirejs_config_provider }
        lazy: true
{'fraction_non_alphanumeric': 0.0957683741648107, 'fraction_numerical': 0.0012726694241170856, 'mean_word_length': 2.0086124401913876, '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': '7390010', 'n_tokens_mistral': 933, 'n_tokens_neox': 909, 'n_words': 117}