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
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
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