Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class PropertyValue implements ComparisonValueInterface |
||
11 | { |
||
12 | private ComparisonValueInterface $value; |
||
13 | private string $property; |
||
14 | |||
15 | /** |
||
16 | * @param ComparisonValueInterface $value Object value expression |
||
17 | * @param string $property The property name |
||
18 | */ |
||
19 | 1 | public function __construct(ComparisonValueInterface $value, string $property) |
|
20 | { |
||
21 | 1 | $this->value = $value; |
|
22 | 1 | $this->property = $property; |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | 1 | public function get(ReflectionFunction $reflection) |
|
31 | } |
||
32 | } |
||
33 |