Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 0 |
1 | <?php |
||
7 | final class Identifier |
||
8 | { |
||
9 | /** |
||
10 | * |
||
11 | * @var string |
||
12 | */ |
||
13 | private $value; |
||
14 | |||
15 | /** |
||
16 | * |
||
17 | * @param string|null $value |
||
18 | */ |
||
19 | 31 | public function __construct(string $value = null) |
|
22 | 31 | } |
|
23 | |||
24 | /** |
||
25 | * |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getValue(): string |
||
29 | { |
||
30 | return $this->value; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | 22 | public function __toString(): string |
|
40 | } |
||
41 | } |
||
42 |