services:
    _defaults:
        public: true

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