services:
    Claroline\CommunityBundle\Serializer\GroupSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CommunityBundle\Serializer\RoleSerializer'

    Claroline\CommunityBundle\Serializer\OrganizationSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\AppBundle\Persistence\ObjectManager'

    Claroline\CommunityBundle\Serializer\ProfileSerializer:
        arguments:
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CoreBundle\API\Serializer\Facet\FacetSerializer'

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

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

    Claroline\CommunityBundle\Serializer\UserSerializer:
        tags: [claroline.serializer]
        arguments:
            - '@security.token_storage'
            - '@security.authorization_checker'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CoreBundle\Library\Configuration\PlatformConfigurationHandler'
            - '@Claroline\CommunityBundle\Serializer\OrganizationSerializer'
            - '@Claroline\CoreBundle\Manager\FacetManager'
            - '@Claroline\CoreBundle\Manager\Workspace\WorkspaceUserQueueManager'
