1 | <?php |
||
17 | class PhpServerCommand extends Command |
||
18 | { |
||
19 | /** |
||
20 | * @var Worker |
||
21 | */ |
||
22 | protected $worker; |
||
23 | |||
24 | /** |
||
25 | * PhpServerCommand constructor. |
||
26 | * |
||
27 | * @param Worker $worker |
||
28 | */ |
||
29 | public function __construct(Worker $worker) |
||
35 | |||
36 | /** |
||
37 | * Configure command |
||
38 | */ |
||
39 | protected function configure() |
||
46 | |||
47 | /** |
||
48 | * Execute command |
||
49 | * |
||
50 | * @param InputInterface $input |
||
51 | * @param OutputInterface $output |
||
52 | * |
||
53 | * @return int|null|void |
||
54 | * |
||
55 | * @throws \Exception |
||
56 | */ |
||
57 | public function execute(InputInterface $input, OutputInterface $output) |
||
67 | } |
||
68 |