Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class QuitCommand extends Command |
||
17 | { |
||
18 | private $serviceManager; |
||
19 | |||
20 | public function __construct($config, $name = null) |
||
24 | } |
||
25 | |||
26 | protected function configure() |
||
27 | { |
||
28 | $this->setName('quit'); |
||
29 | $this->setHelp('Close the server process'); |
||
30 | } |
||
31 | |||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
33 | { |
||
34 | $this->quit(); |
||
35 | } |
||
36 | |||
37 | private function quit() |
||
42 | } |
||
43 | } |
||
44 |