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