Beispiel #1
0
 /**
  * Save config value to storage
  *
  * @param string $path
  * @param string $value
  * @param string $scope
  * @param int $scopeId
  * @return void
  */
 public function save($path, $value, $scope = \Magento\Framework\App\ScopeInterface::SCOPE_DEFAULT, $scopeId = 0)
 {
     $this->_resource->saveConfig(rtrim($path, '/'), $value, $scope, $scopeId);
 }
Beispiel #2
0
 /**
  * Save config value to storage
  *
  * @param string $path
  * @param string $value
  * @param string $scope
  * @param int $scopeId
  * @return void
  */
 public function save($path, $value, $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeId = 0)
 {
     $this->_resource->saveConfig(rtrim($path, '/'), $value, $scope, $scopeId);
 }