30 private $cacheContext;
42 $this->_productStockIndexerRow = $productStockIndexerRow;
43 $this->_productStockIndexerRows = $productStockIndexerRows;
44 $this->_productStockIndexerFull = $productStockIndexerFull;
56 $this->_productStockIndexerRows->execute($ids);
67 $this->_productStockIndexerFull->execute();
70 \
Magento\Catalog\Model\Category::CACHE_TAG,
85 $this->_productStockIndexerRows->execute($ids);
97 $this->_productStockIndexerRow->execute(
$id);
109 return \Magento\Framework\App\ObjectManager::getInstance()->get(CacheContext::class);
111 return $this->cacheContext;
__construct(\Magento\CatalogInventory\Model\Indexer\Stock\Action\Row $productStockIndexerRow, \Magento\CatalogInventory\Model\Indexer\Stock\Action\Rows $productStockIndexerRows, \Magento\CatalogInventory\Model\Indexer\Stock\Action\Full $productStockIndexerFull)
$_productStockIndexerRows
$_productStockIndexerFull