<?php declare(strict_types=1);
/**
* (c) 2021 - Biloba IT Balleyer & Lohrmann GbR
* All Rights reserved
*
* Contact: Biloba IT <support@biloba-it.de>
*/
namespace Biloba\IntlTranslation\Components\Messages;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\Messenger\MessageBusInterface;
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
use Biloba\IntlTranslation\Service\TranslatorService;
use Shopware\Core\System\SystemConfig\SystemConfigService;
use Psr\Log\LoggerInterface;
use Biloba\IntlTranslation\Service\ConfigService;
class ProductEntityMessageHandler extends GenericEntityMessageHandler {
public function __construct(RewindableGenerator $entityHandlers,
MessageBusInterface $messageBus,
EntityRepositoryInterface $productRepository,
TranslatorService $translatorService,
SystemConfigService $systemConfigService,
ConfigService $configService,
LoggerInterface $log)
{
parent::__construct($entityHandlers, $messageBus, $productRepository, $translatorService, $systemConfigService, $configService, $log);
}
public static function getHandledMessages(): iterable
{
return [
ProductEntityMessage::class,
];
}
}