Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Data.php
Go to the documentation of this file.
1 <?php
7 
9 
15 class Data extends \Magento\Framework\Config\Data\Scoped
16 {
26  public function __construct(
27  Reader $reader,
28  \Magento\Framework\Config\ScopeInterface $configScope,
29  \Magento\Framework\Config\CacheInterface $cache,
30  $cacheId,
31  SerializerInterface $serializer = null
32  ) {
33  parent::__construct($reader, $configScope, $cache, $cacheId, $serializer);
34  }
35 
42  public function merge(array $config)
43  {
44  if (isset($config['config']['system'])) {
45  $config = $config['config']['system'];
46  }
47  parent::merge($config);
48  }
49 }
__construct(Reader $reader, \Magento\Framework\Config\ScopeInterface $configScope, \Magento\Framework\Config\CacheInterface $cache, $cacheId, SerializerInterface $serializer=null)
Definition: Data.php:26
$config
Definition: fraud_order.php:17