RetryableQuery::
retryable($this->connection,
function D
) use ($ids): void
{ $this->connection->
executeStatement( 'UPDATE product SET updated_at = :now WHERE id IN (:ids)',
['ids' => Uuid::
fromHexToBytesList($ids), 'now'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
)],
['ids' => ArrayParameterType::STRING
] );
});
Profiler::
trace('product:indexer:event',
function D
) use ($ids,
$context,
$message): void
{ $this->eventDispatcher->
dispatch(new ProductIndexerEvent($ids,
$context,
$message->
getSkip()));
});
} /**
* @return string[]
*/
public function getOptions(): array
{ return [ self::INHERITANCE_UPDATER,
self::STOCK_UPDATER,