| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 28.57% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class DelegatingLoader extends SymfonyDirectoryLoader |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | 2 | */ |
|
| 18 | public function load($file, $type = null): mixed |
||
| 19 | 2 | { |
|
| 20 | $collection = parent::load($file, $type); |
||
| 21 | return $this->transformCollection($collection); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param RouteCollection $symfonyCollection |
||
| 26 | * @return \Nip\Router\RouteCollection |
||
| 27 | */ |
||
| 28 | protected function transformCollection(RouteCollection $symfonyCollection) |
||
| 34 | } |
||
| 35 | } |
||
| 36 |