services:
    _defaults:
        public: true

    OroDotmailerBundleRestApiController:
        namespace: Oro\Bundle\DotmailerBundle\Controller\Api\Rest\
        resource: '../../Controller/Api/Rest/*Controller.php'
        calls:
            - [setContainer, ['@service_container']]
