ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ZipOptions.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26final class ZipOptions extends Options
27{
28 private ?string $zip_output_path = null;
29 private ?string $zip_output_name = null;
30 private int $iterations = 1000;
31 private int $deflate_level = 9;
32
33
34 public function withZipOutputPath(string $zip_output_path): self
35 {
36 $clone = clone $this;
37 $clone->zip_output_path = $zip_output_path;
38 return $clone;
39 }
40
41 public function getZipOutputName(): ?string
42 {
44 }
45
46 public function withZipOutputName(string $zip_output_name): self
47 {
48 $clone = clone $this;
49 $clone->zip_output_name = $zip_output_name;
50 return $clone;
51 }
52
53 public function getZipOutputPath(): ?string
54 {
56 }
57
58 public function getIterations(): int
59 {
60 return $this->iterations;
61 }
62
63 public function getDeflateLevel(): int
64 {
66 }
67}
withZipOutputPath(string $zip_output_path)
Definition: ZipOptions.php:34
withZipOutputName(string $zip_output_name)
Definition: ZipOptions.php:46