summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: d09d6f8080efaa7ae410f3fbf0fc3e484de4e2f2 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
Extension [ <persistent> extension #66 zip version 1.22.2 ] {

  - Functions {
    Function [ <internal, deprecated:zip> function zip_open ] {

      - Parameters [1] {
        Parameter #0 [ <required> string $filename ]
      }
    }
    Function [ <internal, deprecated:zip> function zip_close ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip ]
      }
      - Return [ void ]
    }
    Function [ <internal, deprecated:zip> function zip_read ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip ]
      }
    }
    Function [ <internal, deprecated:zip> function zip_entry_open ] {

      - Parameters [3] {
        Parameter #0 [ <required> $zip_dp ]
        Parameter #1 [ <required> $zip_entry ]
        Parameter #2 [ <optional> string $mode = "rb" ]
      }
      - Return [ bool ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_close ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip_entry ]
      }
      - Return [ bool ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_read ] {

      - Parameters [2] {
        Parameter #0 [ <required> $zip_entry ]
        Parameter #1 [ <optional> int $len = 1024 ]
      }
      - Return [ string|false ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_name ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip_entry ]
      }
      - Return [ string|false ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_compressedsize ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip_entry ]
      }
      - Return [ int|false ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_filesize ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip_entry ]
      }
      - Return [ int|false ]
    }
    Function [ <internal, deprecated:zip> function zip_entry_compressionmethod ] {

      - Parameters [1] {
        Parameter #0 [ <required> $zip_entry ]
      }
      - Return [ string|false ]
    }
  }

  - Classes [1] {
    Class [ <internal:zip> class ZipArchive implements Countable ] {

      - Constants [109] {
        Constant [ public int CREATE ] { 1 }
        Constant [ public int EXCL ] { 2 }
        Constant [ public int CHECKCONS ] { 4 }
        Constant [ public int OVERWRITE ] { 8 }
        Constant [ public int RDONLY ] { 16 }
        Constant [ public int FL_NOCASE ] { 1 }
        Constant [ public int FL_NODIR ] { 2 }
        Constant [ public int FL_COMPRESSED ] { 4 }
        Constant [ public int FL_UNCHANGED ] { 8 }
        Constant [ public int FL_RECOMPRESS ] { 16 }
        Constant [ public int FL_ENCRYPTED ] { 32 }
        Constant [ public int FL_OVERWRITE ] { 8192 }
        Constant [ public int FL_LOCAL ] { 256 }
        Constant [ public int FL_CENTRAL ] { 512 }
        Constant [ public int FL_ENC_GUESS ] { 0 }
        Constant [ public int FL_ENC_RAW ] { 64 }
        Constant [ public int FL_ENC_STRICT ] { 128 }
        Constant [ public int FL_ENC_UTF_8 ] { 2048 }
        Constant [ public int FL_ENC_CP437 ] { 4096 }
        Constant [ public int FL_OPEN_FILE_NOW ] { 1073741824 }
        Constant [ public int CM_DEFAULT ] { -1 }
        Constant [ public int CM_STORE ] { 0 }
        Constant [ public int CM_SHRINK ] { 1 }
        Constant [ public int CM_REDUCE_1 ] { 2 }
        Constant [ public int CM_REDUCE_2 ] { 3 }
        Constant [ public int CM_REDUCE_3 ] { 4 }
        Constant [ public int CM_REDUCE_4 ] { 5 }
        Constant [ public int CM_IMPLODE ] { 6 }
        Constant [ public int CM_DEFLATE ] { 8 }
        Constant [ public int CM_DEFLATE64 ] { 9 }
        Constant [ public int CM_PKWARE_IMPLODE ] { 10 }
        Constant [ public int CM_BZIP2 ] { 12 }
        Constant [ public int CM_LZMA ] { 14 }
        Constant [ public int CM_LZMA2 ] { 33 }
        Constant [ public int CM_ZSTD ] { 93 }
        Constant [ public int CM_XZ ] { 95 }
        Constant [ public int CM_TERSE ] { 18 }
        Constant [ public int CM_LZ77 ] { 19 }
        Constant [ public int CM_WAVPACK ] { 97 }
        Constant [ public int CM_PPMD ] { 98 }
        Constant [ public int ER_OK ] { 0 }
        Constant [ public int ER_MULTIDISK ] { 1 }
        Constant [ public int ER_RENAME ] { 2 }
        Constant [ public int ER_CLOSE ] { 3 }
        Constant [ public int ER_SEEK ] { 4 }
        Constant [ public int ER_READ ] { 5 }
        Constant [ public int ER_WRITE ] { 6 }
        Constant [ public int ER_CRC ] { 7 }
        Constant [ public int ER_ZIPCLOSED ] { 8 }
        Constant [ public int ER_NOENT ] { 9 }
        Constant [ public int ER_EXISTS ] { 10 }
        Constant [ public int ER_OPEN ] { 11 }
        Constant [ public int ER_TMPOPEN ] { 12 }
        Constant [ public int ER_ZLIB ] { 13 }
        Constant [ public int ER_MEMORY ] { 14 }
        Constant [ public int ER_CHANGED ] { 15 }
        Constant [ public int ER_COMPNOTSUPP ] { 16 }
        Constant [ public int ER_EOF ] { 17 }
        Constant [ public int ER_INVAL ] { 18 }
        Constant [ public int ER_NOZIP ] { 19 }
        Constant [ public int ER_INTERNAL ] { 20 }
        Constant [ public int ER_INCONS ] { 21 }
        Constant [ public int ER_REMOVE ] { 22 }
        Constant [ public int ER_DELETED ] { 23 }
        Constant [ public int ER_ENCRNOTSUPP ] { 24 }
        Constant [ public int ER_RDONLY ] { 25 }
        Constant [ public int ER_NOPASSWD ] { 26 }
        Constant [ public int ER_WRONGPASSWD ] { 27 }
        Constant [ public int ER_OPNOTSUPP ] { 28 }
        Constant [ public int ER_INUSE ] { 29 }
        Constant [ public int ER_TELL ] { 30 }
        Constant [ public int ER_COMPRESSED_DATA ] { 31 }
        Constant [ public int ER_CANCELLED ] { 32 }
        Constant [ public int ER_DATA_LENGTH ] { 33 }
        Constant [ public int ER_NOT_ALLOWED ] { 34 }
        Constant [ public int AFL_RDONLY ] { 2 }
        Constant [ public int AFL_IS_TORRENTZIP ] { 4 }
        Constant [ public int AFL_WANT_TORRENTZIP ] { 8 }
        Constant [ public int AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE ] { 16 }
        Constant [ public int OPSYS_DOS ] { 0 }
        Constant [ public int OPSYS_AMIGA ] { 1 }
        Constant [ public int OPSYS_OPENVMS ] { 2 }
        Constant [ public int OPSYS_UNIX ] { 3 }
        Constant [ public int OPSYS_VM_CMS ] { 4 }
        Constant [ public int OPSYS_ATARI_ST ] { 5 }
        Constant [ public int OPSYS_OS_2 ] { 6 }
        Constant [ public int OPSYS_MACINTOSH ] { 7 }
        Constant [ public int OPSYS_Z_SYSTEM ] { 8 }
        Constant [ public int OPSYS_CPM ] { 9 }
        Constant [ public int OPSYS_WINDOWS_NTFS ] { 10 }
        Constant [ public int OPSYS_MVS ] { 11 }
        Constant [ public int OPSYS_VSE ] { 12 }
        Constant [ public int OPSYS_ACORN_RISC ] { 13 }
        Constant [ public int OPSYS_VFAT ] { 14 }
        Constant [ public int OPSYS_ALTERNATE_MVS ] { 15 }
        Constant [ public int OPSYS_BEOS ] { 16 }
        Constant [ public int OPSYS_TANDEM ] { 17 }
        Constant [ public int OPSYS_OS_400 ] { 18 }
        Constant [ public int OPSYS_OS_X ] { 19 }
        Constant [ public int OPSYS_DEFAULT ] { 3 }
        Constant [ public int EM_NONE ] { 0 }
        Constant [ public int EM_TRAD_PKWARE ] { 1 }
        Constant [ public int EM_AES_128 ] { 257 }
        Constant [ public int EM_AES_192 ] { 258 }
        Constant [ public int EM_AES_256 ] { 259 }
        Constant [ public int EM_UNKNOWN ] { 65535 }
        Constant [ public string LIBZIP_VERSION ] { 1.10.1 }
        Constant [ public int LENGTH_TO_END ] { 0 }
        Constant [ public int LENGTH_UNCHECKED ] { -2 }
      }

      - Static properties [0] {
      }

      - Static methods [2] {
        Method [ <internal:zip> static public method isCompressionMethodSupported ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $method ]
            Parameter #1 [ <optional> bool $enc = true ]
          }
          - Return [ bool ]
        }

        Method [ <internal:zip> static public method isEncryptionMethodSupported ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $method ]
            Parameter #1 [ <optional> bool $enc = true ]
          }
          - Return [ bool ]
        }
      }

      - Properties [6] {
        Property [ public int $lastId ]
        Property [ public int $status ]
        Property [ public int $statusSys ]
        Property [ public int $numFiles ]
        Property [ public string $filename ]
        Property [ public string $comment ]
      }

      - Methods [50] {
        Method [ <internal:zip> public method open ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $filename ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ int|bool ]
        }

        Method [ <internal:zip> public method setPassword ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $password ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method close ] {

          - Parameters [0] {
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip, prototype Countable> public method count ] {

          - Parameters [0] {
          }
          - Tentative return [ int ]
        }

        Method [ <internal:zip> public method getStatusString ] {

          - Parameters [0] {
          }
          - Tentative return [ string ]
        }

        Method [ <internal:zip> public method clearError ] {

          - Parameters [0] {
          }
          - Return [ void ]
        }

        Method [ <internal:zip> public method addEmptyDir ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $dirname ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method addFromString ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> string $content ]
            Parameter #2 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method addFile ] {

          - Parameters [5] {
            Parameter #0 [ <required> string $filepath ]
            Parameter #1 [ <optional> string $entryname = "" ]
            Parameter #2 [ <optional> int $start = 0 ]
            Parameter #3 [ <optional> int $length = ZipArchive::LENGTH_TO_END ]
            Parameter #4 [ <optional> int $flags = ZipArchive::FL_OVERWRITE ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method replaceFile ] {

          - Parameters [5] {
            Parameter #0 [ <required> string $filepath ]
            Parameter #1 [ <required> int $index ]
            Parameter #2 [ <optional> int $start = 0 ]
            Parameter #3 [ <optional> int $length = ZipArchive::LENGTH_TO_END ]
            Parameter #4 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method addGlob ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $pattern ]
            Parameter #1 [ <optional> int $flags = 0 ]
            Parameter #2 [ <optional> array $options = [] ]
          }
          - Tentative return [ array|false ]
        }

        Method [ <internal:zip> public method addPattern ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $pattern ]
            Parameter #1 [ <optional> string $path = "." ]
            Parameter #2 [ <optional> array $options = [] ]
          }
          - Tentative return [ array|false ]
        }

        Method [ <internal:zip> public method renameIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> string $new_name ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method renameName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> string $new_name ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setArchiveComment ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $comment ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method getArchiveComment ] {

          - Parameters [1] {
            Parameter #0 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method setArchiveFlag ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $flag ]
            Parameter #1 [ <required> int $value ]
          }
          - Return [ bool ]
        }

        Method [ <internal:zip> public method getArchiveFlag ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $flag ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Return [ int ]
        }

        Method [ <internal:zip> public method setCommentIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> string $comment ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setCommentName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> string $comment ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setMtimeIndex ] {

          - Parameters [3] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> int $timestamp ]
            Parameter #2 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setMtimeName ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> int $timestamp ]
            Parameter #2 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method getCommentIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method getCommentName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method deleteIndex ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $index ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method deleteName ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $name ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method statName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ array|false ]
        }

        Method [ <internal:zip> public method statIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ array|false ]
        }

        Method [ <internal:zip> public method locateName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ int|false ]
        }

        Method [ <internal:zip> public method getNameIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method unchangeArchive ] {

          - Parameters [0] {
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method unchangeAll ] {

          - Parameters [0] {
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method unchangeIndex ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $index ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method unchangeName ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $name ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method extractTo ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $pathto ]
            Parameter #1 [ <optional> array|string|null $files = null ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method getFromName ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <optional> int $len = 0 ]
            Parameter #2 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method getFromIndex ] {

          - Parameters [3] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <optional> int $len = 0 ]
            Parameter #2 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ string|false ]
        }

        Method [ <internal:zip> public method getStreamIndex ] {

          - Parameters [2] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
        }

        Method [ <internal:zip> public method getStreamName ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <optional> int $flags = 0 ]
          }
        }

        Method [ <internal:zip> public method getStream ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $name ]
          }
        }

        Method [ <internal:zip> public method setExternalAttributesName ] {

          - Parameters [4] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> int $opsys ]
            Parameter #2 [ <required> int $attr ]
            Parameter #3 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setExternalAttributesIndex ] {

          - Parameters [4] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> int $opsys ]
            Parameter #2 [ <required> int $attr ]
            Parameter #3 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method getExternalAttributesName ] {

          - Parameters [4] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> &$opsys ]
            Parameter #2 [ <required> &$attr ]
            Parameter #3 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method getExternalAttributesIndex ] {

          - Parameters [4] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> &$opsys ]
            Parameter #2 [ <required> &$attr ]
            Parameter #3 [ <optional> int $flags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setCompressionName ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> int $method ]
            Parameter #2 [ <optional> int $compflags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setCompressionIndex ] {

          - Parameters [3] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> int $method ]
            Parameter #2 [ <optional> int $compflags = 0 ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setEncryptionName ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> int $method ]
            Parameter #2 [ <optional> ?string $password = null ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method setEncryptionIndex ] {

          - Parameters [3] {
            Parameter #0 [ <required> int $index ]
            Parameter #1 [ <required> int $method ]
            Parameter #2 [ <optional> ?string $password = null ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method registerProgressCallback ] {

          - Parameters [2] {
            Parameter #0 [ <required> float $rate ]
            Parameter #1 [ <required> callable $callback ]
          }
          - Tentative return [ bool ]
        }

        Method [ <internal:zip> public method registerCancelCallback ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Tentative return [ bool ]
        }
      }
    }
  }
}