maennchen/ZipStream-PHP

DUMB question...

DangerD1024 opened this issue · 0 comments

How i can set operationMode and defaultCompressionMethod? OperationMode::SIMULATE_LAX - this is not defined...

                $zip = new ZipStream\ZipStream(
                        outputName: $dir.'.zip',
                        operationMode: 'SIMULATE_LAX',//2,//OperationMode::SIMULATE_LAX,
                        defaultCompressionMethod: 'STORE',//CompressionMethod::STORE,
                        // enable output of HTTP headers
                        sendHttpHeaders: true,
                );