chengkun
2025-09-12 26c5c0296e7c094f9a7ae4a4bb3c975796992eaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
 
declare(strict_types=1);
 
namespace ZipStream;
 
/**
 * @deprecated
 */
class DeflateStream extends Stream
{
    public function __construct($stream)
    {
        parent::__construct($stream);
        trigger_error('Class ' . __CLASS__ . ' is deprecated, delation will be handled internally instead', E_USER_DEPRECATED);
    }
 
    public function removeDeflateFilter(): void
    {
        trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);
    }
 
    public function addDeflateFilter(Option\File $options): void
    {
        trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);
    }
}