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