1 | <?php |
||
10 | abstract class AbstractConfigCustomizerPlugin implements ConfigCustomizerPluginInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var QuestionHelper |
||
14 | */ |
||
15 | protected $questionHelper; |
||
16 | |||
17 | 14 | public function __construct(QuestionHelper $questionHelper) |
|
21 | |||
22 | /** |
||
23 | * @param InputInterface $input |
||
24 | * @param OutputInterface $output |
||
25 | * @param string $text |
||
26 | * @param string|null $default |
||
27 | * @param bool $allowEmpty |
||
28 | * @return string |
||
29 | * @throws RuntimeException |
||
30 | */ |
||
31 | 6 | protected function ask(InputInterface $input, OutputInterface $output, $text, $default = null, $allowEmpty = false) |
|
48 | |||
49 | /** |
||
50 | * @param OutputInterface $output |
||
51 | * @param string $text |
||
52 | */ |
||
53 | 13 | protected function printTitle(OutputInterface $output, $text) |
|
66 | } |
||
67 |