|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Framework\App\Config $appConfig) | |
| getValue ($path) | |
| setValue ($path, $value) | |
| isSetFlag ($path) | |
Protected Attributes | |
| $appConfig | |
Backend config accessor.
Definition at line 17 of file Config.php.
| __construct | ( | \Magento\Framework\App\Config | $appConfig | ) |
| \Magento\Framework\App\Config | $appConfig |
Definition at line 33 of file Config.php.
| getValue | ( | $path | ) |
Retrieve config value by pathPath should looks like keys imploded by "/". For example scopes/stores/admin
| string | $path |
Implements ConfigInterface.
Definition at line 41 of file Config.php.
| isSetFlag | ( | $path | ) |
Retrieve config flagPath should looks like keys imploded by "/". For example scopes/stores/admin
| string | $path |
Implements ConfigInterface.
Definition at line 65 of file Config.php.
| setValue | ( | $path, | |
| $value | |||
| ) |
Set config value
| string | $path | |
| mixed | $value |
Implements ConfigInterface.
Definition at line 57 of file Config.php.
|
protected |
Definition at line 22 of file Config.php.