| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class DeflateStream extends FilteredStream |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param int $level |
||
| 17 | */ |
||
| 18 | public function __construct(StreamInterface $stream, $level = -1) |
||
| 24 | 5 | } |
|
| 25 | 5 | ||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | protected function readFilter() |
||
| 30 | 5 | { |
|
| 31 | return 'zlib.deflate'; |
||
| 32 | 5 | } |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | protected function writeFilter() |
||
| 40 | 5 | } |
|
| 41 | } |
||
| 42 |