|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (DeploymentConfig\Reader $reader, $overrideData=[]) | |
| get ($key=null, $defaultValue=null) | |
| isAvailable () | |
| getConfigData ($key=null) | |
| resetData () | |
| isDbAvailable () | |
Application deployment configuration
@api
Definition at line 17 of file DeploymentConfig.php.
| __construct | ( | DeploymentConfig\Reader | $reader, |
$overrideData = [] |
|||
| ) |
Constructor
Data can be optionally injected in the constructor. This object's public interface is intentionally immutable
| DeploymentConfig\Reader | $reader | |
| array | $overrideData |
Definition at line 55 of file DeploymentConfig.php.
| get | ( | $key = null, |
|
$defaultValue = null |
|||
| ) |
Gets data from flattened data
| string | $key | |
| mixed | $defaultValue |
Definition at line 68 of file DeploymentConfig.php.
| getConfigData | ( | $key = null | ) |
Gets a value specified key from config data
| string | $key |
Definition at line 95 of file DeploymentConfig.php.
| isAvailable | ( | ) |
Checks if data available
Definition at line 82 of file DeploymentConfig.php.
| isDbAvailable | ( | ) |
Check if data from deploy files is available
Definition at line 126 of file DeploymentConfig.php.
| resetData | ( | ) |