ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UnzipOptions.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26final class UnzipOptions extends Options
27{
28 protected ?string $zip_output_path = null;
29 private bool $flat = false;
30 private bool $overwrite = false;
31
32 public function getZipOutputPath(): ?string
33 {
35 }
36
37 public function withZipOutputPath(string $zip_output_path): self
38 {
39 $clone = clone $this;
40 $clone->zip_output_path = $zip_output_path;
41 return $clone;
42 }
43
44 public function isOverwrite(): bool
45 {
46 return $this->overwrite;
47 }
48
49 public function withOverwrite(bool $overwrite): self
50 {
51 $clone = clone $this;
52 $clone->overwrite = $overwrite;
53 return $clone;
54 }
55
56}
withZipOutputPath(string $zip_output_path)