1 | <?php |
||
27 | abstract class AbstractCommand extends Command { |
||
28 | |||
29 | /** |
||
30 | * Displays the header. |
||
31 | * |
||
32 | * @param StyleInterface $io The I/O. |
||
33 | * @return void |
||
34 | */ |
||
35 | protected function displayHeader(StyleInterface $io, $text) { |
||
40 | |||
41 | /** |
||
42 | * Get a checkbox. |
||
43 | * |
||
44 | * @param bool $checked Checked ? |
||
45 | * @return string Returns the checkbox. |
||
46 | */ |
||
47 | protected function getCheckbox($checked) { |
||
50 | |||
51 | /** |
||
52 | * Create a style. |
||
53 | * |
||
54 | * @param InputInterface $input The input. |
||
55 | * @param OutputInterface $output The output. |
||
56 | * @return StyleInterface Returns the style. |
||
57 | */ |
||
58 | protected function newStyle(InputInterface $input, OutputInterface $output) { |
||
61 | } |
||
62 |