| Conditions | 2 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 59 | protected function firing(Application $app) : void |
||
| 60 | { |
||
| 61 | (new Server( |
||
| 62 | $app->name(), |
||
| 63 | new Address($app->input()->getOption(Options::LISTEN)) |
||
| 64 | )) |
||
| 65 | ->bootstrap($this->bootstrap()) |
||
| 66 | ->plugins( |
||
| 67 | new LiveReloading, |
||
| 68 | new ServerMonitor, |
||
| 69 | new MetricsExporter |
||
| 70 | ) |
||
| 71 | ->wants($app->starting(), $app->stopping()) |
||
| 72 | ->run($app->input()->getOption(Options::WORKERS) ?: $this->numCPUs()) |
||
| 73 | ; |
||
| 76 |