Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | trait FilesystemFlagsImplementationTrait |
||
17 | { |
||
18 | /** |
||
19 | * unsigned int flag_nullpath_ok:1; |
||
20 | * unsigned int flag_nopath:1; |
||
21 | * unsigned int flag_utime_omit_ok:1; |
||
22 | * unsigned int flag_reserved:29; |
||
23 | */ |
||
24 | private bool $flag_nullpath_ok = false; |
||
25 | private bool $flag_nopath = false; |
||
26 | private bool $flag_utime_omit_ok = false; |
||
27 | |||
28 | public function setFlagNullpathOk(bool $flag): void |
||
29 | { |
||
30 | $this->flag_nullpath_ok = $flag; |
||
31 | } |
||
32 | |||
33 | public function getFlagNullpathOk(): bool |
||
34 | { |
||
35 | return $this->flag_nullpath_ok; |
||
36 | } |
||
37 | |||
38 | public function setFlagNopath(bool $flag): void |
||
39 | { |
||
40 | $this->flag_nopath = $flag; |
||
41 | } |
||
42 | |||
43 | public function getFlagNopath(): bool |
||
44 | { |
||
45 | return $this->flag_nopath; |
||
46 | } |
||
47 | |||
48 | public function setFlagUtimeOmitOk(bool $flag): void |
||
51 | } |
||
52 | |||
53 | public function getFlagUtimeOmitOk(): bool |
||
54 | { |
||
55 | return $this->flag_utime_omit_ok; |
||
58 |