services:
  _defaults:
    public: true
    bind:
      $connection: '@doctrine.dbal.default_connection'
      $dbPrefix: '%database_prefix%'

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\AddFeatureHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\EditFeatureHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\QueryHandler\GetFeatureForEditingHandler:
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\AddFeatureValueHandler:
    autoconfigure: true
    arguments:
      - '@PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureRepository'
      - '@PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureValueRepository'

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\EditFeatureValueHandler:
    autoconfigure: true
    arguments:
      - '@PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureValueRepository'

  PrestaShop\PrestaShop\Adapter\Feature\QueryHandler\GetFeatureValueForEditingHandler:
    autoconfigure: true
    arguments:
      - '@PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureValueRepository'

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\DeleteFeatureHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\BulkDeleteFeatureHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\DeleteFeatureValueHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\CommandHandler\BulkDeleteFeatureValueHandler:
    autowire: true
    public: false
    autoconfigure: true

  PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureRepository:
    autowire: true
    public: false

  PrestaShop\PrestaShop\Adapter\Feature\Validate\FeatureValidator: ~

  PrestaShop\PrestaShop\Adapter\Feature\Validate\FeatureValueValidator: ~

  PrestaShop\PrestaShop\Adapter\Feature\Repository\FeatureValueRepository:
    autowire: true
    public: true
