1 | <?php |
||
13 | class ConsoleIO implements IOInterface |
||
14 | { |
||
15 | /** @var InputInterface */ |
||
16 | private $input; |
||
17 | |||
18 | /** @var OutputInterface */ |
||
19 | private $output; |
||
20 | |||
21 | /** @var QuestionHelper */ |
||
22 | private $questionHelper; |
||
23 | |||
24 | /** |
||
25 | * ConsoleIO constructor. |
||
26 | * |
||
27 | * @param InputInterface $input |
||
28 | * @param OutputInterface $output |
||
29 | */ |
||
30 | public function __construct(InputInterface $input, OutputInterface $output) |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function write($message) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function isInteractive() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function ask($question, $default = null) |
||
60 | } |
||
61 |