@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Spatie\DbDumper\Databases; |
| 4 | 4 | |
| 5 | 5 | use Spatie\DbDumper\DbDumper; |
| 6 | -use Symfony\Component\Process\Process; |
|
| 7 | 6 | use Spatie\DbDumper\Exceptions\CannotStartDump; |
| 7 | +use Symfony\Component\Process\Process; |
|
| 8 | 8 | |
| 9 | 9 | class MongoDb extends DbDumper |
| 10 | 10 | { |
@@ -273,11 +273,4 @@ |
||
| 273 | 273 | BASH; |
| 274 | 274 | } |
| 275 | 275 | |
| 276 | - return $command.' > '.$dumpFile; |
|
| 277 | - } |
|
| 278 | - |
|
| 279 | - protected function determineQuote(): string |
|
| 280 | - { |
|
| 281 | - return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? '"' : "'"; |
|
| 282 | - } |
|
| 283 | -} |
|
| 276 | + return $command.' > '.$dumpFile |
|
| 284 | 277 | \ No newline at end of file |
@@ -273,11 +273,4 @@ |
||
| 273 | 273 | BASH; |
| 274 | 274 | } |
| 275 | 275 | |
| 276 | - return $command.' > '.$dumpFile; |
|
| 277 | - } |
|
| 278 | - |
|
| 279 | - protected function determineQuote(): string |
|
| 280 | - { |
|
| 281 | - return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? '"' : "'"; |
|
| 282 | - } |
|
| 283 | -} |
|
| 276 | + return $command.' > '.$dumpFile |
|
| 284 | 277 | \ No newline at end of file |