services:
    _defaults:
        tags: [kernel.event_subscriber]

    Claroline\HomeBundle\Subscriber\WorkspaceSubscriber:
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\AppBundle\API\Crud'

    Claroline\HomeBundle\Subscriber\Tool\HomeSubscriber:
        arguments:
            - '@security.token_storage'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\AppBundle\API\Crud'
            - '@Claroline\HomeBundle\Manager\HomeManager'
