Total Complexity | 7 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | final class Value implements \Stringable |
||
8 | { |
||
9 | private string $value; |
||
10 | |||
11 | |||
12 | 50 | public function __construct( |
|
17 | } |
||
18 | |||
19 | 50 | private function handleValue(string $value): string |
|
28 | } |
||
29 | |||
30 | 5 | #[\Override] |
|
31 | public function __toString(): string |
||
32 | { |
||
33 | 5 | return $this->value; |
|
34 | } |
||
35 | |||
36 | 44 | public function getValue(): string |
|
39 | } |
||
40 | |||
42 |