services:
  _defaults:
    public: true

  prestashop.adapter.title.title_image_thumbnail_provider:
    class: 'PrestaShop\PrestaShop\Adapter\Title\TitleImageThumbnailProvider'
    arguments:
      - '@prestashop.core.image.parser.image_tag_source_parser'
      - '@PrestaShop\PrestaShop\Adapter\ImageManager'
      - !php/const _PS_GENDERS_DIR_

  prestashop.adapter.title.command_handler.delete_title_handler:
    class: 'PrestaShop\PrestaShop\Adapter\Title\CommandHandler\DeleteTitleHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\Title\Command\DeleteTitleCommand'

  prestashop.adapter.title.command_handler.bulk_delete_title_handler:
    class: 'PrestaShop\PrestaShop\Adapter\Title\CommandHandler\BulkDeleteTitleHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\Title\Command\BulkDeleteTitleCommand'
