<?php declare(strict_types=1);
namespace Nxs\NxsMigrateShortDescription;
use Shopware\Core\Framework\DataAbstractionLayer\Indexing\EntityIndexerRegistry;
use Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Context\UpdateContext;
class NxsMigrateShortDescription extends Plugin
{
public function postUpdate(UpdateContext $updateContext): void
{
parent::postUpdate($updateContext);
$indexerMessageSender = $this->container->get(EntityIndexerRegistry::class);
$indexerMessageSender->sendIndexingMessage(['product.indexer']);
}
}