Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Store.php
Go to the documentation of this file.
1 <?php
11 
16 class Store extends \Magento\Framework\App\Config\Value
17 {
21  protected $_mutableConfig;
22 
33  public function __construct(
34  \Magento\Framework\Model\Context $context,
35  \Magento\Framework\Registry $registry,
37  \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList,
39  \Magento\Framework\Model\ResourceModel\AbstractResource $resource = null,
40  \Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
41  array $data = []
42  ) {
43  parent::__construct($context, $registry, $config, $cacheTypeList, $resource, $resourceCollection, $data);
44  $this->_mutableConfig = $mutableConfig;
45  }
46 
50  public function afterSave()
51  {
52  $this->_cacheManager->clean();
53  return parent::afterSave();
54  }
55 }
$mutableConfig
Definition: store.php:18
$config
Definition: fraud_order.php:17
$resource
Definition: bulk.php:12
__construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\App\Config\ScopeConfigInterface $config, \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList, \Magento\Framework\App\Config\MutableScopeConfigInterface $mutableConfig, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[])
Definition: Store.php:33