src/Databases/MySql.php 1 location
|
@@ 105-114 (lines=10) @@
|
| 102 |
|
* |
| 103 |
|
* @return \Spatie\DbDumper\Databases\MySql |
| 104 |
|
*/ |
| 105 |
|
public function setDumpBinaryPath($dumpBinaryPath) |
| 106 |
|
{ |
| 107 |
|
if ($dumpBinaryPath !== '' && substr($dumpBinaryPath, -1) !== '/') { |
| 108 |
|
$dumpBinaryPath .= '/'; |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
$this->dumpBinaryPath = $dumpBinaryPath; |
| 112 |
|
|
| 113 |
|
return $this; |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |
| 117 |
|
* @return \Spatie\DbDumper\Databases\MySql |
src/Databases/PostgreSql.php 1 location
|
@@ 104-113 (lines=10) @@
|
| 101 |
|
* |
| 102 |
|
* @return \Spatie\DbDumper\Databases\MySql |
| 103 |
|
*/ |
| 104 |
|
public function setDumpBinaryPath($dumpBinaryPath) |
| 105 |
|
{ |
| 106 |
|
if ($dumpBinaryPath !== '' && substr($dumpBinaryPath, -1) !== '/') { |
| 107 |
|
$dumpBinaryPath .= '/'; |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
$this->dumpBinaryPath = $dumpBinaryPath; |
| 111 |
|
|
| 112 |
|
return $this; |
| 113 |
|
} |
| 114 |
|
|
| 115 |
|
/** |
| 116 |
|
* Dump the contents of the database to the given file. |