Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductRuleIndexer.php
Go to the documentation of this file.
1 <?php
7 
9 
11 {
15  protected function doExecuteList($ids)
16  {
17  $this->indexBuilder->reindexByIds(array_unique($ids));
18  $this->getCacheContext()->registerEntities(\Magento\Catalog\Model\Product::CACHE_TAG, $ids);
19  }
20 
24  protected function doExecuteRow($id)
25  {
26  $this->indexBuilder->reindexById($id);
27  }
28 }
$id
Definition: fieldset.phtml:14