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
CustomerData
JsLayoutDataProviderPool.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\CustomerData
;
8
15
class
JsLayoutDataProviderPool
implements
JsLayoutDataProviderPoolInterface
16
{
22
protected
$jsLayoutDataProviders
;
23
29
public
function
__construct
(
30
array
$jsLayoutDataProviders
= []
31
) {
32
$this->jsLayoutDataProviders =
$jsLayoutDataProviders
;
33
}
34
38
public
function
getData
()
39
{
40
$data
= [];
41
if
($this->jsLayoutDataProviders) {
42
foreach
($this->jsLayoutDataProviders as $dataProvider) {
43
$data
= array_merge_recursive(
$data
, $dataProvider->getData());
44
}
45
}
46
return
$data
;
47
}
48
}
Magento\Customer\CustomerData\JsLayoutDataProviderPool\$jsLayoutDataProviders
$jsLayoutDataProviders
Definition:
JsLayoutDataProviderPool.php:22
Magento\Customer\CustomerData
Definition:
Customer.php:7
Magento\Customer\CustomerData\JsLayoutDataProviderPool
Definition:
JsLayoutDataProviderPool.php:15
Magento\Customer\CustomerData\JsLayoutDataProviderPoolInterface
Definition:
JsLayoutDataProviderPoolInterface.php:12
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Customer\CustomerData\JsLayoutDataProviderPool\getData
getData()
Definition:
JsLayoutDataProviderPool.php:38
Magento\Customer\CustomerData\JsLayoutDataProviderPool\__construct
__construct(array $jsLayoutDataProviders=[])
Definition:
JsLayoutDataProviderPool.php:29