public function dump(Database $database)
    {
        $this->appendDatabaseNode($database, $this->document);

        return trim($this->document->saveXML());
    }
public function dump(Database $database)
    {
        $this->appendDatabaseNode($database, $this->document);

        return trim($this->document->saveXML());
    }
public function dump ( Database $ database ) { $ this -> appendDatabaseNode ( $ database , $ this -> document ) ; return trim ( $ this -> document -> saveXML ( ) ) ; }
Dumps a single Database model into an XML formatted version.

@param  Database $database The database model
@return string   The dumped XML formatted output
Dumps a single Database model into an XML formatted version .