diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eedf31..95393f2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All Notable changes to `db-dumper` will be documented in this file +## 1.0.2 - 2016-02-01 + +- Added missing abstract `dumpToFile`-method + ## 1.0.1 - 2016-01-19 - Fixed typo in `checkIfDumpWasSuccessFul`-method name diff --git a/src/Databases/MySql.php b/src/Databases/MySql.php index 024e798..b151191 100644 --- a/src/Databases/MySql.php +++ b/src/Databases/MySql.php @@ -84,7 +84,7 @@ public function dontUseExtendedInserts() : MySql return $this; } - /** + /* * Dump the contents of the database to the given file. */ public function dumpToFile(string $dumpFile) diff --git a/src/DbDumper.php b/src/DbDumper.php index 3786113..c58353e 100644 --- a/src/DbDumper.php +++ b/src/DbDumper.php @@ -12,6 +12,11 @@ public static function create() return new static(); } + /* + * Dump the contents of the database to the given file. + */ + abstract public function dumpToFile(string $dumpFile); + protected function checkIfDumpWasSuccessFul(Process $process, string $outputFile) : bool { if (!$process->isSuccessful()) {