This commit is contained in:
yyh931018@qq.com
2022-09-08 17:11:02 +08:00
parent 1b0c8f4196
commit d1f6cbd57e
75 changed files with 9148 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace OSS\Model;
/**
* Interface XmlConfig
* @package OSS\Model
*/
interface XmlConfig
{
/**
* 接口定义实现此接口的类都需要实现从xml数据解析的函数
*
* @param string $strXml
* @return null
*/
public function parseFromXml($strXml);
/**
* 接口定义实现此接口的类都需要实现把子类序列化成xml字符串的接口
*
* @return string
*/
public function serializeToXml();
}