1 | <?php |
||
10 | class ComposerIO implements IOInterface |
||
11 | { |
||
12 | /** @var ComposerIOInterface */ |
||
13 | private $io; |
||
14 | |||
15 | /** |
||
16 | * ComposerIO constructor. |
||
17 | * |
||
18 | * @param ComposerIOInterface $io |
||
19 | */ |
||
20 | public function __construct(ComposerIOInterface $io) |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function write($message) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function isInteractive() |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function ask($question, $default = null) |
||
48 | } |
||
49 |