services:
    # We must do it this way if we want to be able to use dependency injections.
    # File your complaints to Symfony
    WEM\SmartgearBundle\Controller\Api\Backup\V1Controller:
        alias: 'smartgear.controller.api.backup.v1'
        public: true

    smartgear.controller.api.backup.v1:
        class: WEM\SmartgearBundle\Controller\Api\Backup\V1Controller
        arguments:
            $framework: '@contao.framework'
            $translator: '@contao.translation.translator'
            $api : '@smartgear.api.backup.v1.api'
            $securityToken: '@smartgear.classes.api.security.token'
        public: true

    WEM\SmartgearBundle\Controller\Api\Smartgear\V1Controller:
        alias: 'smartgear.controller.api.smartgear.v1'
        public: true

    smartgear.controller.api.smartgear.v1:
        class: WEM\SmartgearBundle\Controller\Api\Smartgear\V1Controller
        arguments:
            $translator: '@contao.translation.translator'
            $api: '@smartgear.api.smartgear.v1.api'
            $securityApiKey: '@smartgear.classes.api.security.api_key'
            $securityToken: '@smartgear.classes.api.security.token'
        public: true

    WEM\SmartgearBundle\Controller\Api\Update\V1Controller:
        alias: 'smartgear.controller.api.update.v1'
        public: true

    smartgear.controller.api.update.v1:
        class: WEM\SmartgearBundle\Controller\Api\Update\V1Controller
        arguments:
            $translator: '@contao.translation.translator'
            $framework: '@contao.framework'
            $api : '@smartgear.api.update.v1.api'
            $securityToken: '@smartgear.classes.api.security.token'
        public: true