| @@ 15-30 (lines=16) @@ | ||
| 12 | * @link http://phpbu.de/ |
|
| 13 | * @since Class available since Release 3.2.1 |
|
| 14 | */ |
|
| 15 | class Bzip2 extends Abstraction |
|
| 16 | { |
|
| 17 | /** |
|
| 18 | * Bzip2 constructor. |
|
| 19 | * |
|
| 20 | * @param string $path |
|
| 21 | */ |
|
| 22 | public function __construct($path = null) |
|
| 23 | { |
|
| 24 | parent::__construct($path); |
|
| 25 | $this->cmd = 'bzip2'; |
|
| 26 | $this->suffix = 'bz2'; |
|
| 27 | $this->mimeType = 'application/x-bzip2'; |
|
| 28 | $this->pipeable = true; |
|
| 29 | } |
|
| 30 | } |
|
| 31 | ||
| @@ 15-30 (lines=16) @@ | ||
| 12 | * @link http://phpbu.de/ |
|
| 13 | * @since Class available since Release 3.2.1 |
|
| 14 | */ |
|
| 15 | class Gzip extends Abstraction |
|
| 16 | { |
|
| 17 | /** |
|
| 18 | * Gzip constructor. |
|
| 19 | * |
|
| 20 | * @param string $path |
|
| 21 | */ |
|
| 22 | public function __construct($path = null) |
|
| 23 | { |
|
| 24 | parent::__construct($path); |
|
| 25 | $this->cmd = 'gzip'; |
|
| 26 | $this->suffix = 'gz'; |
|
| 27 | $this->mimeType = 'application/x-gzip'; |
|
| 28 | $this->pipeable = true; |
|
| 29 | } |
|
| 30 | } |
|
| 31 | ||
| @@ 15-30 (lines=16) @@ | ||
| 12 | * @link http://phpbu.de/ |
|
| 13 | * @since Class available since Release 3.2.1 |
|
| 14 | */ |
|
| 15 | class Zip extends Abstraction |
|
| 16 | { |
|
| 17 | /** |
|
| 18 | * Zip constructor. |
|
| 19 | * |
|
| 20 | * @param string $path |
|
| 21 | */ |
|
| 22 | public function __construct($path = null) |
|
| 23 | { |
|
| 24 | parent::__construct($path); |
|
| 25 | $this->cmd = 'zip'; |
|
| 26 | $this->suffix = 'zip'; |
|
| 27 | $this->mimeType = 'application/zip'; |
|
| 28 | $this->pipeable = false; |
|
| 29 | } |
|
| 30 | } |
|
| 31 | ||