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
ReportXml
Config
Reader.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Analytics\ReportXml\Config
;
7
8
use
Magento\Framework\Config\ReaderInterface
;
9
15
class
Reader
implements
ReaderInterface
16
{
24
private
$readers;
25
29
private
$mapper;
30
35
public
function
__construct
(
36
Mapper
$mapper,
37
$readers = []
38
) {
39
$this->readers = $readers;
40
$this->mapper = $mapper;
41
}
42
49
public
function
read
($scope =
null
)
50
{
51
$data
= [];
52
foreach
($this->readers as $reader) {
53
$data
= array_merge_recursive(
$data
, $reader->read($scope));
54
}
55
return
$this->mapper->execute(
$data
);
56
}
57
}
Magento\Analytics\ReportXml\Config\Reader\read
read($scope=null)
Definition:
Reader.php:49
Magento\Analytics\ReportXml\Config\Reader
Definition:
Reader.php:15
Magento\Analytics\ReportXml\Config
Magento\Analytics\ReportXml\Config\Mapper
Definition:
Mapper.php:15
Magento\Framework\Config\ReaderInterface
Definition:
ReaderInterface.php:16
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Analytics\ReportXml\Config\Reader\__construct
__construct(Mapper $mapper, $readers=[])
Definition:
Reader.php:35