| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | 8 | public function register() |
|
| 18 | {
|
||
| 19 | $this->container->share(Converter::class, function() {
|
||
| 20 | 8 | return new Converter(); |
|
| 21 | 8 | }); |
|
| 22 | |||
| 23 | 8 | $this->container->share(Config::class, function() {
|
|
| 24 | 7 | $fs = $this->container->get(Filesystem::class); |
|
| 25 | 7 | $converter = $this->container->get(Converter::class); |
|
| 26 | 7 | return new Config($fs, $converter); |
|
| 27 | 8 | }); |
|
| 28 | } |
||
| 29 | } |