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
framework
Setup
Declaration
Schema
Declaration
ReaderComposite.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Setup\Declaration\Schema\Declaration
;
8
9
use
Magento\Framework\App\DeploymentConfig
;
10
use
Magento\Framework\Config\ReaderInterface
;
11
17
class
ReaderComposite
implements
ReaderInterface
18
{
22
private
$readers;
23
27
private
$deploymentConfig;
28
33
public
function
__construct
(
DeploymentConfig
$deploymentConfig, array $readers = [])
34
{
35
$this->readers = $readers;
36
$this->deploymentConfig =
$deploymentConfig
;
37
}
38
42
public
function
read
($scope =
null
)
43
{
44
$schema
= [
'table'
=> []];
45
foreach
($this->readers as $reader) {
46
$schema
= array_replace_recursive(
$schema
, $reader->read($scope));
47
}
48
49
return
$schema
;
50
}
51
}
Magento\Framework\App\DeploymentConfig
Definition:
DeploymentConfig.php:17
Magento\Framework\Setup\Declaration\Schema\Declaration\ReaderComposite
Definition:
ReaderComposite.php:17
Magento\Framework\Setup\Declaration\Schema\Declaration
Definition:
ReaderComposite.php:7
$deploymentConfig
$deploymentConfig
Definition:
health_check.php:18
Magento\Framework\Config\ReaderInterface
Definition:
ReaderInterface.php:16
Magento\Framework\Setup\Declaration\Schema\Declaration\ReaderComposite\read
read($scope=null)
Definition:
ReaderComposite.php:42
Magento\Framework\Setup\Declaration\Schema\Declaration\ReaderComposite\__construct
__construct(DeploymentConfig $deploymentConfig, array $readers=[])
Definition:
ReaderComposite.php:33
$schema
$schema
Definition:
configured_price.phtml:9
Magento\Framework\App\DeploymentConfig
Definition:
CommentParser.php:6