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-deploy
App
Mode
ConfigProvider.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Deploy\App\Mode
;
7
11
class
ConfigProvider
12
{
26
private
$config;
27
31
public
function
__construct
(array $config = [])
32
{
33
$this->config = $config;
34
}
35
51
public
function
getConfigs
($currentMode, $targetMode)
52
{
53
if
(isset($this->config[$currentMode][$targetMode])) {
54
return
$this->config[$currentMode][$targetMode];
55
}
56
return
[];
57
}
58
}
Magento\Deploy\App\Mode\ConfigProvider
Definition:
ConfigProvider.php:11
Magento\Deploy\App\Mode
Definition:
ConfigProvider.php:6
Magento\Deploy\App\Mode\ConfigProvider\getConfigs
getConfigs($currentMode, $targetMode)
Definition:
ConfigProvider.php:51
Magento\Deploy\App\Mode\ConfigProvider\__construct
__construct(array $config=[])
Definition:
ConfigProvider.php:31