You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
497 B
27 lines
497 B
<?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();
|
|
|
|
}
|
|
|