services:
    _defaults:
        autowire: false
        autoconfigure: false
        public: false

    # Community
    Claroline\OpenBadgeBundle\Library\Rules\GroupRule:
        tags: ['claroline.badge.rule']
        arguments:
            - '@security.token_storage'
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\OpenBadgeBundle\Library\Rules\RoleRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@security.token_storage'
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    # Workspace
    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Workspace\WorkspaceStatusRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Workspace\WorkspaceProgressionRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Workspace\WorkspaceScoreRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'


    # Resource
    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Resource\ResourceStatusRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Resource\ResourceProgressionRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\OpenBadgeBundle\Library\Rules\Evaluation\Resource\ResourceScoreRule:
        tags: [ 'claroline.badge.rule' ]
        arguments:
            - '@translator'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
