PHP Class Smile\ElasticsuiteCatalog\Plugin\Indexer\Price\ReindexProductsAfterPriceUpdate

Used to index products into ES after their price information are indexed by legacy Magento indexer.
Author: Romain Ruaud ([email protected])
Inheritance: extends Smile\ElasticsuiteCatalog\Plugin\Indexer\AbstractIndexerPlugin
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
aroundExecute ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, int[] $productIds ) : void
aroundExecuteList ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, array $productIds ) : void
aroundExecuteRow ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, integer $productId ) : void

Method Details

aroundExecute() public method

public aroundExecute ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, int[] $productIds ) : void
$subject Magento\Catalog\Model\Indexer\Product\Price The Price indexer
$proceed Closure The ::execute() function of $subject
$productIds int[] The product ids being reindexed
return void

aroundExecuteList() public method

public aroundExecuteList ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, array $productIds ) : void
$subject Magento\Catalog\Model\Indexer\Product\Price The Price indexer
$proceed Closure The ::execute() function of $subject
$productIds array The product ids being reindexed
return void

aroundExecuteRow() public method

public aroundExecuteRow ( Magento\Catalog\Model\Indexer\Product\Price $subject, Closure $proceed, integer $productId ) : void
$subject Magento\Catalog\Model\Indexer\Product\Price The Price indexer
$proceed Closure The ::executeRow() function of $subject
$productId integer The product id being reindexed
return void