| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 9 | public function register(WritableInterface $container) |
|
| 24 | { |
||
| 25 | 9 | $config = $container->get(ProviderInterface::CONFIG); |
|
| 26 | |||
| 27 | 9 | $templates = __DIR__ . DIRECTORY_SEPARATOR . 'Templates'; |
|
| 28 | |||
| 29 | 9 | $config->set('app.views.fixture', (string) $templates); |
|
| 30 | |||
| 31 | 9 | $container->set(ProviderInterface::CONFIG, $config); |
|
| 32 | |||
| 33 | 9 | return Provider::merge($container, new RouteCollection); |
|
| 34 | } |
||
| 36 |