| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function boot() |
||
| 27 | { |
||
| 28 | foreach ($this->bootstraps as $bootstrapClassName) { |
||
| 29 | /** |
||
| 30 | * @var BootstrapInterface |
||
| 31 | */ |
||
| 32 | $bootstrap = new $bootstrapClassName(); |
||
| 33 | $bootstrap->boot($this->app); |
||
| 34 | |||
| 35 | if ($bootstrap instanceof SiteConfigLoader) { |
||
| 36 | $this->appUrl = $bootstrap->getSiteConfig()['url']; |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | $this->app->dispatch($this->getServerRequest()); |
||
| 41 | } |
||
| 42 | |||
| 63 |