public function __construct(\Magento\Framework\Indexer\IndexerRegistry $indexerRegistry) { $this->indexerRegistry = $indexerRegistry; }