| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | public function register(ContainerInterface $app) |
||
| 18 | { |
||
| 19 | $app->closure(Configuration::class, function () { |
||
| 20 | $conf = new Configuration(); |
||
| 21 | $conf->path[] = 'views'; |
||
| 22 | return $conf; |
||
| 23 | }); |
||
| 24 | $app->bind(ResolverInterface::class, FileResolver::class); |
||
| 25 | $app->bind(RenderInterface::class, Phiew::class); |
||
| 26 | } |
||
| 27 | |||
| 35 |