Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | final class IndexReference implements IndexReferenceInterface |
||
7 | { |
||
8 | |||
9 | private $elementIndex; |
||
10 | |||
11 | 2 | public function __construct(int $elementIndex) |
|
12 | { |
||
13 | 2 | $this->elementIndex = $elementIndex; |
|
14 | 2 | } |
|
15 | |||
16 | 1 | public function getElementIndex(): int |
|
17 | { |
||
18 | 1 | return $this->elementIndex; |
|
19 | } |
||
20 | |||
21 | 1 | public function getPropertyName(): string |
|
24 | } |
||
25 | } |
||
26 |