services:
    _defaults:
        public: true

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