services:
    _defaults:
        public: true

    prestashop.core.module.configuration.payment_restrictions_configurator:
        class: PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator
        arguments:
            - '@doctrine.dbal.default_connection'
            - '%database_prefix%'
            - '@=service("prestashop.adapter.legacy.context").getContext().shop.id'
            - '@prestashop.adapter.module.payment_module_provider'
