| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | private function registerApp() |
||
| 23 | { |
||
| 24 | $this->set(ConfigManager::class, function($c) { |
||
| 25 | return new ConfigManager($c->g(ConfigReader::class), $c->g(Translator::class)); |
||
| 26 | }); |
||
| 27 | // Jaxon App |
||
| 28 | $this->set(App::class, function($c) { |
||
| 29 | return new App($c->g(Jaxon::class), $c->g(ConfigManager::class), |
||
| 30 | $c->g(ResponseManager::class), $c->g(Translator::class)); |
||
| 31 | }); |
||
| 32 | // Jaxon App bootstrap |
||
| 33 | $this->set(Bootstrap::class, function($c) { |
||
| 34 | return new Bootstrap($c->g(ConfigManager::class), $c->g(PluginManager::class), $c->g(RequestHandler::class)); |
||
| 35 | }); |
||
| 58 |