Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Setup
RecurringData.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Setup
;
8
9
use
Magento\Framework\Indexer\IndexerRegistry
;
10
use
Magento\Framework\Setup\InstallDataInterface
;
11
use
Magento\Framework\Setup\ModuleContextInterface
;
12
use
Magento\Framework\Setup\ModuleDataSetupInterface
;
13
use
Magento\Customer\Model\Customer
;
14
18
class
RecurringData
implements
InstallDataInterface
19
{
23
private
$indexerRegistry;
24
30
public
function
__construct
(
IndexerRegistry
$indexerRegistry)
31
{
32
$this->indexerRegistry =
$indexerRegistry
;
33
}
34
38
public
function
install
(
ModuleDataSetupInterface
$setup
,
ModuleContextInterface
$context)
39
{
40
$indexer
= $this->indexerRegistry->get(
Customer::CUSTOMER_GRID_INDEXER_ID
);
41
$indexer
->reindexAll();
42
}
43
}
Magento\Customer\Setup
Definition:
CustomerSetup.php:8
Magento\Framework\Setup\InstallDataInterface
Definition:
InstallDataInterface.php:14
Magento\Framework\Setup\ModuleContextInterface
Definition:
ModuleContextInterface.php:13
Magento\Customer\Setup\RecurringData\__construct
__construct(IndexerRegistry $indexerRegistry)
Definition:
RecurringData.php:30
Magento\Customer\Setup\RecurringData\install
install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
Definition:
RecurringData.php:38
Magento\Framework\Setup\ModuleDataSetupInterface
Definition:
ModuleDataSetupInterface.php:14
$indexerRegistry
$indexerRegistry
Definition:
product_different_store_prices.php:20
Magento\Customer\Model\Customer
$setup
$setup
Definition:
trigger.php:12
Magento\Framework\Indexer\IndexerRegistry
Definition:
IndexerRegistry.php:12
Magento\Customer\Model\Customer\CUSTOMER_GRID_INDEXER_ID
const CUSTOMER_GRID_INDEXER_ID
Definition:
Customer.php:81
Magento\Customer\Setup\RecurringData
Definition:
RecurringData.php:18
$indexer
$indexer
Definition:
product_different_store_prices.php:21