28 lines
419 B
PHP
28 lines
419 B
PHP
<?php
|
|
|
|
namespace OSS\Model;
|
|
|
|
/**
|
|
* Interface XmlConfig
|
|
* @package OSS\Model
|
|
*/
|
|
interface XmlConfig
|
|
{
|
|
|
|
/**
|
|
* Interface method: Parse the object from the xml.
|
|
*
|
|
* @param string $strXml
|
|
* @return null
|
|
*/
|
|
public function parseFromXml($strXml);
|
|
|
|
/**
|
|
* Interface method: Serialize the object into xml.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function serializeToXml();
|
|
|
|
}
|