1 | <?php |
||
17 | final class ConsoleIo |
||
18 | { |
||
19 | /** |
||
20 | * @var InputInterface |
||
21 | */ |
||
22 | private $input; |
||
23 | |||
24 | /** |
||
25 | * @var OutputInterface |
||
26 | */ |
||
27 | private $output; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $lastMessage; |
||
33 | |||
34 | public function __construct(InputInterface $input, OutputInterface $output) |
||
39 | |||
40 | /** |
||
41 | * @param string|array $messages |
||
42 | * @param bool $newline |
||
43 | */ |
||
44 | public function write($messages, bool $newline = true) |
||
49 | |||
50 | /** |
||
51 | * @param string|array $messages |
||
52 | * @param bool $newline |
||
53 | * @param int $size |
||
54 | */ |
||
55 | public function overwrite($messages, bool $newline = true, int $size = null) |
||
84 | } |
||
85 |