Method | Description | |
---|---|---|
__construct ( Magento\Framework\Indexer\IndexerRegistry $indexerRegistry ) | ReindexCategoryAfterSave constructor. | |
aroundReindex ( Magento\Catalog\Model\Category $subject, callable $proceed ) : Magento\Catalog\Model\Category | Reindex category's data after into search engine after reindexing the category |
public __construct ( Magento\Framework\Indexer\IndexerRegistry $indexerRegistry ) | ||
$indexerRegistry | Magento\Framework\Indexer\IndexerRegistry | The indexer registry |
public aroundReindex ( Magento\Catalog\Model\Category $subject, callable $proceed ) : Magento\Catalog\Model\Category | ||
$subject | Magento\Catalog\Model\Category | The category being reindexed |
$proceed | callable | The parent function we are plugged on : Magento\Catalog\Model\Category::reindex() |
return | Magento\Catalog\Model\Category |