Total Complexity | 2 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | class ServerStart extends Based |
||
27 | { |
||
28 | use HWIGet; |
||
29 | use Opt\Common, Opt\Metrics, Opt\Discovery, Opt\Listener; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $name = 'server:start'; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $description = 'Start the HTTP server'; |
||
40 | |||
41 | /** |
||
42 | * @var array |
||
43 | */ |
||
44 | protected $components = [ |
||
45 | Routing::class, |
||
46 | Serving::class, |
||
47 | Monitor::class, |
||
48 | Tracing::class, |
||
49 | ]; |
||
50 | |||
51 | /** |
||
52 | * @var bool |
||
53 | */ |
||
54 | protected $ready = false; |
||
55 | |||
56 | /** |
||
57 | * @param Application $app |
||
58 | */ |
||
59 | protected function firing(Application $app) : void |
||
76 |