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

    Icap\BlogBundle\Serializer\PostSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@Claroline\CommunityBundle\Serializer\UserSerializer'
            - '@Icap\BlogBundle\Serializer\CommentSerializer'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@event_dispatcher'
            - '@Claroline\CoreBundle\API\Serializer\Resource\ResourceNodeSerializer'

    Icap\BlogBundle\Serializer\CommentSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@Claroline\CommunityBundle\Serializer\UserSerializer'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Icap\BlogBundle\Serializer\BlogSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@Icap\BlogBundle\Serializer\BlogOptionsSerializer'

    Icap\BlogBundle\Serializer\BlogOptionsSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@Icap\BlogBundle\Manager\BlogManager'
