services:
    _defaults:
        tags: [ messenger.message_handler ]

    Claroline\EvaluationBundle\Messenger\InitializeWorkspaceEvaluationsHandler:
        arguments:
            - '@messenger.default_bus'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\EvaluationBundle\Manager\WorkspaceEvaluationManager'

    Claroline\EvaluationBundle\Messenger\UpdateResourceEvaluationsHandler:
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\EvaluationBundle\Manager\ResourceEvaluationManager'

    Claroline\EvaluationBundle\Messenger\RecomputeWorkspaceEvaluationsHandler:
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\EvaluationBundle\Manager\WorkspaceEvaluationManager'
