| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 25 | public function createService(ServiceLocatorInterface $serviceLocator) | ||
| 26 |     { | ||
| 27 | /** @var array $config */ | ||
| 28 |         $config = $serviceLocator->get('config'); | ||
| 29 | $config = isset($config['router']['routes']) ? $config['router']['routes'] : []; | ||
| 30 | |||
| 31 | $builder = new RouteCollectionBuilder($config); | ||
| 32 | |||
| 33 | return $builder->build(); | ||
| 34 | } | ||
| 35 | } | ||
| 36 |