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

    Claroline\MessageBundle\Serializer\MessageSerializer:
        tags: [claroline.serializer]
        arguments:
           - '@Claroline\AppBundle\Persistence\ObjectManager'
           - '@security.token_storage'
           - '@Claroline\MessageBundle\Manager\MessageManager'
           - '@Claroline\CommunityBundle\Serializer\UserSerializer'
           - '@Claroline\CommunityBundle\Serializer\GroupSerializer'
           - '@Claroline\CoreBundle\API\Serializer\Workspace\WorkspaceSerializer'

    Claroline\MessageBundle\Serializer\Contact\OptionsSerializer:
        tags: [claroline.serializer]
        arguments:
           - '@Claroline\CommunityBundle\Serializer\UserSerializer'
           - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\MessageBundle\Serializer\Contact\ContactSerializer:
        tags: [claroline.serializer]
        arguments:
           - '@Claroline\MessageBundle\Serializer\Contact\CategorySerializer'
           - '@Claroline\CommunityBundle\Serializer\UserSerializer'
           - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\MessageBundle\Serializer\Contact\CategorySerializer:
        tags: [claroline.serializer]
        arguments:
           - '@Claroline\CommunityBundle\Serializer\UserSerializer'
           - '@Claroline\AppBundle\Persistence\ObjectManager'
