| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 25 | trait MaskTrait |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Mask for the extraction folder (if it should be created) |
||
| 30 | * |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | private int $mask = 0777; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Set the mask of the extraction folder |
||
| 37 | * |
||
| 38 | * @param int $mask Integer representation of the file mask |
||
| 39 | * |
||
| 40 | * @return ZipInterface |
||
| 41 | */ |
||
| 42 | 1 | public function setMask(int $mask): ZipInterface |
|
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Get current mask of the extraction folder |
||
| 58 | * |
||
| 59 | * @return int |
||
| 60 | */ |
||
| 61 | 5 | public function getMask(): int |
|
| 66 |