PHP Класс Smile\ElasticsuiteCatalog\Plugin\Indexer\Stock\ReindexProductsAfterStockUpdate

Used to index products into ES after their stock information are indexed by legacy Magento CatalogInventory indexer.
Автор: Romain Ruaud ([email protected])
Наследование: extends Smile\ElasticsuiteCatalog\Plugin\Indexer\AbstractIndexerPlugin
Показать файл Открыть проект

Открытые методы

Метод Описание
aroundExecute ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, int[] $productIds ) : void
aroundExecuteList ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, array $productIds ) : void
aroundExecuteRow ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, integer $productId ) : void

Описание методов

aroundExecute() публичный Метод

public aroundExecute ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, int[] $productIds ) : void
$subject Magento\CatalogInventory\Model\Indexer\Stock The CatalogInventory indexer
$proceed Closure The ::execute() function of $subject
$productIds int[] The product ids being reindexed
Результат void

aroundExecuteList() публичный Метод

public aroundExecuteList ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, array $productIds ) : void
$subject Magento\CatalogInventory\Model\Indexer\Stock The CatalogInventory indexer
$proceed Closure The ::execute() function of $subject
$productIds array The product ids being reindexed
Результат void

aroundExecuteRow() публичный Метод

public aroundExecuteRow ( Magento\CatalogInventory\Model\Indexer\Stock $subject, Closure $proceed, integer $productId ) : void
$subject Magento\CatalogInventory\Model\Indexer\Stock The CatalogInventory indexer
$proceed Closure The ::executeRow() function of $subject
$productId integer The product id being reindexed
Результат void