services:
  _defaults:
    public: true

  # COMMAND HANDLERS

  prestashop.core.domain.sql_management.command_handler.save_settings:
    class: 'PrestaShop\PrestaShop\Core\Domain\SqlManagement\CommandHandler\SaveSqlRequestSettingsHandler'
    autoconfigure: true
    arguments:
      - '@prestashop.adapter.legacy.configuration'

  # QUERY HANDLERS

  prestashop.core.domain.sql_management.query_handler.get_sql_request_settings:
    class: 'PrestaShop\PrestaShop\Core\Domain\SqlManagement\QueryHandler\GetSqlRequestSettingsHandler'
    autoconfigure: true
    arguments:
      - '@prestashop.adapter.legacy.configuration'
