mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
增加接口类 规范驱动扩展
This commit is contained in:
25
library/think/config/driver/ConfigInterface.php
Normal file
25
library/think/config/driver/ConfigInterface.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think\config\driver;
|
||||
|
||||
interface ConfigInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* 解析配置
|
||||
* @access public
|
||||
* @param mixed $config 配置
|
||||
* @return mixed
|
||||
*/
|
||||
public function parse($config);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user