| 1 | <?php |
||
| 17 | class PhpServerCommand extends Command |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Worker |
||
| 21 | */ |
||
| 22 | protected $worker; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * PhpServerCommand constructor. |
||
| 26 | */ |
||
| 27 | public function __construct(Worker $worker) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Configure command. |
||
| 36 | */ |
||
| 37 | protected function configure() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Execute command. |
||
| 47 | * |
||
| 48 | * @return int|void|null |
||
| 49 | * |
||
| 50 | * @throws \Exception |
||
| 51 | */ |
||
| 52 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 62 | } |
||
| 63 |