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

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

  Claroline\HomeBundle\Serializer\Type\WidgetsTabSerializer:
    tags: [claroline.serializer]
    arguments:
      - '@Claroline\AppBundle\Persistence\ObjectManager'
      - '@Claroline\CoreBundle\API\Serializer\Widget\WidgetContainerSerializer'
