services:
    _defaults:
        public: true # because controller

    Claroline\CommunityBundle\Controller\ActivityController:
        arguments:
            - '@security.authorization_checker'
            - '@security.token_storage'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\AppBundle\API\FinderProvider'
            - '@Claroline\CoreBundle\Manager\Tool\ToolManager'
            - '@Claroline\CoreBundle\Manager\EventManager'
            - '@Claroline\AnalyticsBundle\Manager\AnalyticsManager'

    Claroline\CommunityBundle\Controller\GroupController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.token_storage'
            - '@security.authorization_checker'
            - '@Claroline\AuthenticationBundle\Manager\MailManager'

    Claroline\CommunityBundle\Controller\OrganizationController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.authorization_checker'
            - '@security.token_storage'

    Claroline\CommunityBundle\Controller\ProfileController:
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\AppBundle\Manager\File\TempFileManager'
            - '@Claroline\AppBundle\API\Crud'
            - '@Claroline\AppBundle\API\SerializerProvider'
            - '@Claroline\CoreBundle\API\Serializer\ParametersSerializer'
            - '@Claroline\CommunityBundle\Serializer\ProfileSerializer'

    Claroline\CommunityBundle\Controller\RegistrationController:
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\AppBundle\Persistence\ObjectManager'
            - '@Claroline\CoreBundle\Library\Configuration\PlatformConfigurationHandler'
            - '@Claroline\AppBundle\API\Crud'
            - '@Claroline\AppBundle\API\SerializerProvider'
            - '@Claroline\CommunityBundle\Serializer\ProfileSerializer'
            - '@Claroline\AppBundle\Manager\TermsOfServiceManager'
            - '@Claroline\AuthenticationBundle\Security\Authentication\Authenticator'

    Claroline\CommunityBundle\Controller\RoleController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\CoreBundle\Manager\Tool\ToolManager'
            - '@Claroline\CoreBundle\Manager\LogManager'

    Claroline\CommunityBundle\Controller\TeamController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.authorization_checker'
            - '@Claroline\CommunityBundle\Manager\TeamManager'

    Claroline\CommunityBundle\Controller\UserController:
        parent: Claroline\AppBundle\Controller\AbstractCrudController
        public: true
        arguments:
            - '@security.token_storage'
            - '@security.authorization_checker'
            - '@Claroline\CoreBundle\Manager\UserManager'
            - '@Claroline\AuthenticationBundle\Manager\MailManager'
            - '@Claroline\CoreBundle\Manager\Tool\ToolManager'
            - '@Claroline\CoreBundle\Manager\Workspace\WorkspaceManager'
