@@ 71-76 (lines=6) @@ | ||
68 | ($highlightErrors ? '<error>ERR</error>' : 'ERR') |
|
69 | : '<question>OUT</question>'; |
|
70 | ||
71 | foreach ($lines as $line) { |
|
72 | $line = trim($line); |
|
73 | if (!empty($line)) { |
|
74 | $this->userInteraction->write($prefix.' '.$line); |
|
75 | } |
|
76 | } |
|
77 | }; |
|
78 | } |
|
79 | } |
@@ 58-63 (lines=6) @@ | ||
55 | */ |
|
56 | private function pipeLinesWithPrefix($prefix, array $lines) |
|
57 | { |
|
58 | foreach ($lines as $line) { |
|
59 | $line = trim($line); |
|
60 | if (!empty($line)) { |
|
61 | $this->userInteraction->write($prefix.' '.$line); |
|
62 | } |
|
63 | } |
|
64 | } |
|
65 | } |
|
66 |