parameters:
    oro_config.global.class:                                                     Oro\Bundle\ConfigBundle\Config\ConfigManager
    oro_config.user.class:                                                       Oro\Bundle\ConfigBundle\Config\UserConfigManager
    oro_config.twig_extension.class:                                             Oro\Bundle\ConfigBundle\Twig\ConfigExtension
    oro_config.provider.system_configuration.form_provider.class:                Oro\Bundle\ConfigBundle\Provider\SystemConfigurationFormProvider

services:
    oro_config.user:
        class:                        '%oro_config.user.class%'
        arguments:                    ["@doctrine.orm.entity_manager"]
        calls:
             - [setSecurity, ["@security.token_storage"]]
        tags:
            -  { name: oro_config.manager }

    oro_config.global:
        class:                        '%oro_config.global.class%'
        arguments:                    ["@doctrine.orm.entity_manager"]
        tags:
            -  { name: oro_config.manager }

    oro_config.twig.config_extension:
        class:                        '%oro_config.twig_extension.class%'
        arguments:                    ["@oro_config.global"]
        tags:
            - { name: twig.extension }
