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-analytics
Model
Config
Reader.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Analytics\Model\Config
;
7
8
use
Magento\Framework\Config\ReaderInterface
;
9
13
class
Reader
implements
ReaderInterface
14
{
18
private
$readers;
19
23
private
$mapper;
24
29
public
function
__construct
(
30
Mapper
$mapper,
31
$readers = []
32
) {
33
$this->mapper = $mapper;
34
$this->readers = $readers;
35
}
36
43
public
function
read
($scope =
null
)
44
{
45
$data
= [];
46
foreach
($this->readers as $reader) {
47
$data
= array_merge_recursive(
$data
, $reader->read($scope));
48
}
49
50
return
$this->mapper->execute(
$data
);
51
}
52
}
Magento\Analytics\Model\Config\Reader\__construct
__construct(Mapper $mapper, $readers=[])
Definition:
Reader.php:29
Magento\Analytics\Model\Config
Magento\Analytics\Model\Config\Reader
Definition:
Reader.php:13
Magento\Analytics\Model\Config\Mapper
Definition:
Mapper.php:12
Magento\Framework\Config\ReaderInterface
Definition:
ReaderInterface.php:16
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Analytics\Model\Config\Reader\read
read($scope=null)
Definition:
Reader.php:43