services:
  _defaults:
    public: true

  prestashop.adapter.state.command_handler.create_state_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\AddStateHandler'
    tags:
      - name: 'tactician.handler'
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\AddStateCommand'

  prestashop.adapter.state.command_handler.edit_state_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\EditStateHandler'
    tags:
      - name: 'tactician.handler'
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\EditStateCommand'

  prestashop.adapter.state.command_handler.toggle_state_status_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\ToggleStateStatusHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\ToggleStateStatusCommand'

  prestashop.adapter.state.query_handler.get_state_for_editing_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\QueryHandler\GetStateForEditingHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Query\GetStateForEditing'

  prestashop.adapter.state.command_handler.delete_state_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\DeleteStateHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\DeleteStateCommand'

  prestashop.adapter.state.command_handler.bulk_delete_state_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\BulkDeleteStateHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\BulkDeleteStateCommand'

  prestashop.adapter.state.command_handler.bulk_toggle_state_status_handler:
    class: 'PrestaShop\PrestaShop\Adapter\State\CommandHandler\BulkToggleStateStatusHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\State\Command\BulkToggleStateStatusCommand'
