PHP Класс Smile\ElasticsuiteCatalog\Plugin\Indexer\Category\Save\ReindexCategoryAfterSave

Автор: Romain Ruaud ([email protected])
Показать файл Открыть проект

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

Метод Описание
__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

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

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

ReindexCategoryAfterSave constructor.
public __construct ( Magento\Framework\Indexer\IndexerRegistry $indexerRegistry )
$indexerRegistry Magento\Framework\Indexer\IndexerRegistry The indexer registry

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

Reindex category's data after into search engine after reindexing the category
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()
Результат Magento\Catalog\Model\Category