Example #1
0
 /**
  * Adds any set SQL to the archive
  * 
  * NOTE that it's assumed this will only be called at the start of the backup process
  * @return \mithra62\BackupPro\Backup\Database\DbAbstract
  */
 public function archivePreSql()
 {
     if ($this->context->getArchivePreSql()) {
         $this->context->writeOut(implode(PHP_EOL, $this->context->getArchivePreSql()) . PHP_EOL . PHP_EOL);
     }
     return $this;
 }