| 1 | <?php |
||
| 5 | class Uncompressed extends AbstractCompressor |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Returns the command line for compressing the dump file. |
||
| 9 | * |
||
| 10 | * @param string $command |
||
| 11 | * @param bool $pipe |
||
| 12 | * @return string |
||
| 13 | */ |
||
| 14 | public function getCompressingCommand($command, $pipe = true) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Returns the command line for decompressing the dump file. |
||
| 21 | * |
||
| 22 | * @param string $command MySQL client tool connection string |
||
| 23 | * @param string $fileName Filename (shell argument escaped) |
||
| 24 | * @param bool $pipe |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getDecompressingCommand($command, $fileName, $pipe = true) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns the file name for the compressed dump file. |
||
| 38 | * |
||
| 39 | * @param string $fileName |
||
| 40 | * @param bool $pipe |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getFileName($fileName, $pipe = true) |
||
| 51 | } |
||
| 52 |