services:
  _defaults:
    public: true


  prestashop.adapter.notification.command_handler.update_employee_notification_last_element_handler:
    class: 'PrestaShop\PrestaShop\Adapter\Notification\CommandHandler\UpdateEmployeeNotificationLastElementHandler'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\Notification\Command\UpdateEmployeeNotificationLastElementCommand'

  prestashop.adapter.notification.query_handler.get_notification_last_elements_handler:
    class: 'PrestaShop\PrestaShop\Adapter\Notification\QueryHandler\GetNotificationLastElementsHandler'
    arguments:
      - '@prestashop.adapter.notifications.configuration'
    tags:
      - name: tactician.handler
        command: 'PrestaShop\PrestaShop\Core\Domain\Notification\Query\GetNotificationLastElements'
