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

    Claroline\AnnouncementBundle\Serializer\AnnouncementSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@security.token_storage'
            - '@Claroline\CommunityBundle\Serializer\UserSerializer'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CoreBundle\API\Serializer\Workspace\WorkspaceSerializer'
            - '@Claroline\CoreBundle\API\Serializer\Resource\ResourceNodeSerializer'
            - '@Claroline\CommunityBundle\Serializer\RoleSerializer'

    Claroline\AnnouncementBundle\Serializer\AnnouncementAggregateSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CoreBundle\API\Serializer\Template\TemplateSerializer'
