| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 5 | final class Index implements ShortestPathForest |
||
| 6 | { |
||
| 7 | private $nextNodeOnTheRoad; |
||
| 8 | |||
| 9 | private function __construct(array $nextNodeOnTheRoad) |
||
| 12 | } |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string[][] $nextNodeOnTheRoad |
||
| 16 | * @return ShortestPathForest |
||
| 17 | */ |
||
| 18 | public static function of(array $nextNodeOnTheRoad): ShortestPathForest |
||
| 21 | } |
||
| 22 | |||
| 23 | public function nextStepOnTheRoadBetween( |
||
| 33 |