#
# Module services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.

services:
  _defaults:
    autowire: true
    autoconfigure: true
  qsl.payment-memberships.doctrine.migration-decorator:
    class: XCart\Doctrine\Migration\MigrationTablesInjector
    decorates: XCart\Doctrine\Migration
    arguments:
      $migration: '@.inner'
      $preservedTables: ['%env(string:DATABASE_DEFAULT_TABLE_PREFIX)%_qsl_payment_method_memberships']
