| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1);  | 
            ||
| 55 | 1 | public function load() : RouteCollectionInterface  | 
            |
| 56 |     { | 
            ||
| 57 | 1 | $collect = new RouteCollector();  | 
            |
| 58 | |||
| 59 | 1 |         foreach ($this->resources as $resource) { | 
            |
| 60 |             (function () use ($resource) { | 
            ||
| 61 | 1 | require $resource;  | 
            |
| 62 | 1 | })->call($collect);  | 
            |
| 63 | }  | 
            ||
| 64 | |||
| 65 | 1 | return $collect->getCollection();  | 
            |
| 66 | }  | 
            ||
| 68 |