<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App\Config\ConfigResource;
/**
* 配置接口
*/
interface ConfigInterface
{
/**
* 保存配置
*
* @param string $path
* @param string $value
* @param string $scope
* @param int $scopeId
* @return $this
*/
public function saveConfig($path, $value, $scope, $scopeId);
/**
* 删除配置
*
* @param string $path
* @param string $scope
* @param int $scopeId
* @return $this
*/
public function deleteConfig($path, $scope, $scopeId);
}
【magento2.1源码分析】配置接口文件ConfigInterface.php
猜你喜欢
转载自blog.csdn.net/qq2942713658/article/details/81225805
今日推荐
周排行