#
# Module services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.
services:
  _defaults:
    autowire: true
    autoconfigure: true
  QSL\ProductQuestions\EntityCallback\QuestionCallback:
    tags:
      - {name: doctrine.orm.entity_listener, event: prePersist, entity: QSL\ProductQuestions\Model\Question}
      - {name: doctrine.orm.entity_listener, event: preUpdate, entity: QSL\ProductQuestions\Model\Question}
