Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Writer $writer, ArrayManager $arrayManager, PreparedValueFactory $valueFactory=null) | |
save (array $values, $scope=ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode=null) | |
Class ConfigWriter. Save configuration values into config file.
Definition at line 20 of file ConfigWriter.php.
__construct | ( | Writer | $writer, |
ArrayManager | $arrayManager, | ||
PreparedValueFactory | $valueFactory = null |
||
) |
Writer | $writer | |
ArrayManager | $arrayManager | |
PreparedValueFactory | null | $valueFactory | Creates a prepared instance of Value |
Definition at line 44 of file ConfigWriter.php.
save | ( | array | $values, |
$scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT , |
|||
$scopeCode = null |
|||
) |
Save given list of configuration values into config file.
array | $values | the configuration values (path-value pairs) to be saved. |
string | $scope | scope in which configuration would be saved. |
string | null | $scopeCode |
Definition at line 62 of file ConfigWriter.php.