mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
- removed @since 2.0.0 as it is a base release - updated version in @since and @deprecated tag taking into account all patch releases
27 lines
612 B
PHP
27 lines
612 B
PHP
<?php
|
|
/**
|
|
* DB configuration data converter. Converts associative array to tree array
|
|
*
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Store\Model\Config;
|
|
|
|
/**
|
|
* Class Converter.
|
|
*/
|
|
class Converter extends \Magento\Framework\App\Config\Scope\Converter
|
|
{
|
|
/**
|
|
* Convert config data
|
|
*
|
|
* @param array $source
|
|
* @param array $initialConfig
|
|
* @return array
|
|
*/
|
|
public function convert($source, $initialConfig = [])
|
|
{
|
|
return array_replace_recursive($initialConfig, parent::convert($source));
|
|
}
|
|
}
|