| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | 1 | class NodeCollection implements NodeCollectionInterface |
|
| 8 | {
|
||
| 9 | private array $nodes; |
||
| 10 | private int $allNodeCount; |
||
| 11 | |||
| 12 | 2 | public function getNodes(): array |
|
| 13 | {
|
||
| 14 | 2 | return $this->nodes; |
|
| 15 | } |
||
| 16 | |||
| 17 | 2 | public function setNodes(array $nodes): void |
|
| 18 | {
|
||
| 19 | 2 | $this->nodes = $nodes; |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function getAllNodeCount(): int |
|
| 23 | {
|
||
| 24 | 2 | return $this->allNodeCount; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function setAllNodeCount(int $allNodeCount): void |
|
| 30 | 2 | } |
|
| 31 | } |
||
| 32 |