* @package Mammut\DB\Model */ interface XMLModel { /** * Creates a model from an XML string * * @param string $data * the XML data * @return TableInfo|ViewInfo|array the generated object(s) */ public static function fromXML($data); /** * Creates the table XML representation of the element * * @return string an XML string */ public function toXML(); }