services:
    pim_user.saver.role:
        class: '%akeneo_storage_utils.saver.base.class%'
        arguments:
            - '@doctrine.orm.entity_manager'
            - '@event_dispatcher'
            - '%pim_user.entity.role.class%'

    pim_user.saver.group:
        class: '%akeneo_storage_utils.saver.base.class%'
        arguments:
            - '@doctrine.orm.entity_manager'
            - '@event_dispatcher'
            - '%pim_user.entity.group.class%'

    pim_user.saver.user:
        class: '%akeneo_storage_utils.saver.base.class%'
        arguments:
            - '@doctrine.orm.entity_manager'
            - '@event_dispatcher'
            - '%pim_user.entity.user.class%'

    pim_user.saver.role_with_permissions:
        class: 'Akeneo\UserManagement\Component\Storage\Saver\RoleWithPermissionsSaver'
        arguments:
            - '@doctrine.orm.entity_manager'
            - '@event_dispatcher'
            - '@oro_security.acl.manager'
        public: true
