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-indexer
Model
Config.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Indexer\Model
;
7
8
use
Magento\Framework\Indexer\ConfigInterface
;
9
10
class
Config
implements
ConfigInterface
11
{
15
protected
$configData
;
16
20
public
function
__construct
(
Config
\Data
$configData
)
21
{
22
$this->configData =
$configData
;
23
}
24
30
public
function
getIndexers
()
31
{
32
return
$this->configData->get();
33
}
34
41
public
function
getIndexer
($indexerId)
42
{
43
return
$this->configData->get($indexerId) ?: [];
44
}
45
}
Magento\Indexer\Model\Config\__construct
__construct(Config\Data $configData)
Definition:
Config.php:20
Magento\Indexer\Model
Magento\Indexer\Model\Config\getIndexer
getIndexer($indexerId)
Definition:
Config.php:41
Magento\Indexer\Model\Config
Definition:
Config.php:10
Magento\Indexer\Model\Config\getIndexers
getIndexers()
Definition:
Config.php:30
Magento\Framework\Indexer\ConfigInterface
Definition:
ConfigInterface.php:14
Magento\Indexer\Model\Config\$configData
$configData
Definition:
Config.php:15