/** * Dumps schema * * @param IOutput $writeStream stream to write the dump to * @param IDialect $dialect database dialect to use * * @return void */ function make(IOutput $writeStream, IDialect $dialect) { $now = date('Y/m/d H:i'); $product = PHOEBIUS_FULL_PRODUCT_NAME; $start = <<<EOT -- -- {$product} -- Generated at {$now} for {$dialect->getDBDriver()->getValue()} -- EOT; $writeStream->write($start)->write($this->dbSchema->toDialectString($dialect)); }