Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class Property |
||
17 | { |
||
18 | public function __construct( |
||
19 | private string $name, |
||
20 | private ?string $invalidValue, |
||
21 | private bool $exits = false, |
||
22 | ) { |
||
23 | } |
||
24 | |||
25 | public function getName(): string |
||
28 | } |
||
29 | |||
30 | public function getInvalidValue(): ?string |
||
31 | { |
||
32 | return $this->invalidValue; |
||
33 | } |
||
34 | |||
35 | public function isExits(): bool |
||
38 | } |
||
39 | } |
||
40 |