public function __construct( private readonly SearchKeywordUpdater
$decorated,
private readonly ElasticsearchHelper
$helper ) { } /**
* @param array<string> $ids
*/
public function update(array
$ids, Context
$context): void
{ if ($this->helper->
allowIndexing()) { return;
} $this->decorated->
update($ids,
$context);
} public function reset(): void
{ $this->decorated->
reset();
}}