# Conflicts:
#	tests/framework/thinkphp/library/think/config/driver/iniTest.php
#	thinkphp/library/think/config/driver/DriverInterface.php
#	thinkphp/library/think/config/driver/driver_interface.php
This commit is contained in:
thinkphp
2015-12-19 09:18:56 +08:00
3 changed files with 2 additions and 31 deletions

View File

@@ -1,29 +0,0 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: dongww <dongww@gmail.com>
// +----------------------------------------------------------------------
namespace think\config\driver;
/**
* 配置文件解析驱动接口
*
* @package think\config\driver
*/
interface DriverInterface
{
/**
* 解析配置文件或内容,并以数组形式返回
*
* @param string $config 配置文件路径或字符串
*
* @return array 以数组形式返回配置
*/
public function parse($config);
}

View File

@@ -11,7 +11,7 @@
namespace think\config\driver;
class Ini implements DriverInterface
class Ini
{
public function parse($config)
{

View File

@@ -11,7 +11,7 @@
namespace think\config\driver;
class Xml implements DriverInterface
class Xml
{
public function parse($config)
{