| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class NodeValueList implements NodeValueListInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | private $values; |
||
| 14 | |||
| 15 | private $indexMap; |
||
| 16 | |||
| 17 | 5 | public function __construct(IndexMapInterface $indexMap, NodeValueInterface ...$values) |
|
| 21 | 5 | } |
|
| 22 | |||
| 23 | 2 | public function getValue(int $index): ValueInterface |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return ValueInterface[] |
||
| 34 | */ |
||
| 35 | 2 | public function getValues(): array |
|
| 36 | { |
||
| 37 | 2 | return $this->values; |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function getIndexMap(): IndexMapInterface |
|
| 43 | } |
||
| 44 | } |
||
| 45 |