services:
    _defaults:
        public: true

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