1 | <?php |
||
7 | trait OutputAware |
||
8 | { |
||
9 | protected |
||
10 | $output = null; |
||
11 | |||
12 | public function setOutput(OutputInterface $output) |
||
13 | { |
||
14 | $this->output = $output; |
||
15 | |||
16 | return $this; |
||
17 | } |
||
18 | |||
19 | protected function error($messages, $newline = false, $type = OutputInterface::OUTPUT_NORMAL) |
||
23 | |||
24 | protected function warning($messages, $newline = false, $type = OutputInterface::OUTPUT_NORMAL) |
||
28 | |||
29 | protected function info($messages, $newline = false, $type = OutputInterface::OUTPUT_NORMAL) |
||
33 | |||
34 | protected function debug($messages, $newline = false, $type = OutputInterface::OUTPUT_NORMAL) |
||
38 | |||
39 | private function write($messages, $newline, $type, $verbosity, $textColor) |
||
58 | } |
||
59 |