Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | abstract class ValueObjectComplex extends ValueObject |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @param mixed $value |
||
14 | * @param mixed ...$other |
||
15 | * @throws \ReflectionException |
||
16 | */ |
||
17 | 25 | public function guard($value, ...$other): void |
|
21 | } |
||
22 | 24 | } |
|
23 | |||
24 | /** |
||
25 | * @return mixed |
||
26 | */ |
||
27 | 11 | public function getValue() |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | 2 | public function __toString(): string |
|
46 |