Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RecurringData.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Customer\Setup;
8 
14 
19 {
23  private $indexerRegistry;
24 
30  public function __construct(IndexerRegistry $indexerRegistry)
31  {
32  $this->indexerRegistry = $indexerRegistry;
33  }
34 
39  {
40  $indexer = $this->indexerRegistry->get(Customer::CUSTOMER_GRID_INDEXER_ID);
41  $indexer->reindexAll();
42  }
43 }
__construct(IndexerRegistry $indexerRegistry)
install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
$setup
Definition: trigger.php:12