| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function getConfiguration(): array |
||
| 33 | { |
||
| 34 | $configurationArray = []; |
||
| 35 | foreach ($this->router->getRoutes() as $identifier => $route) { |
||
| 36 | $configurationArray[$identifier] = [ |
||
| 37 | 'path' => $route->getPath(), |
||
| 38 | 'options' => $route->getOptions() |
||
| 39 | ]; |
||
| 40 | } |
||
| 41 | ArrayUtility::naturalKeySortRecursive($configurationArray); |
||
| 42 | return $configurationArray; |
||
| 43 | } |
||
| 45 |