services:
    _defaults:
        autowire: false
        autoconfigure: false
        public: true
        tags: [claroline.serializer]

    Claroline\ForumBundle\Serializer\ForumSerializer:
        arguments:
           - '@Claroline\AppBundle\API\FinderProvider'
           - '@security.token_storage'
           - '@event_dispatcher'
           - '@Claroline\ForumBundle\Manager\ForumManager'
           - '@security.authorization_checker'

    Claroline\ForumBundle\Serializer\MessageSerializer:
        arguments:
           - '@Claroline\CoreBundle\API\Serializer\MessageSerializer'
           - '@Claroline\AppBundle\Persistence\ObjectManager'
           - '@Claroline\CoreBundle\API\Serializer\Resource\ResourceNodeSerializer'

    Claroline\ForumBundle\Serializer\SubjectSerializer:
        arguments:
           - '@Claroline\AppBundle\API\FinderProvider'
           - '@event_dispatcher'
           - '@Claroline\CoreBundle\API\Serializer\File\PublicFileSerializer'
           - '@Claroline\AppBundle\Persistence\ObjectManager'
           - '@Claroline\CommunityBundle\Serializer\UserSerializer'
           - '@Claroline\ForumBundle\Manager\ForumManager'
