1 | <?php |
||
13 | class OutputWatcher implements OutputInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var OutputInterface |
||
17 | */ |
||
18 | private $output; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | private $wasWritten = false; |
||
24 | |||
25 | /** |
||
26 | * @param OutputInterface $output |
||
27 | */ |
||
28 | 4 | public function __construct(OutputInterface $output) |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 4 | public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 5 | public function writeln($messages, $type = self::OUTPUT_NORMAL) |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 1 | public function setVerbosity($level) |
|
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 4 | public function getVerbosity() |
|
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | 1 | public function setDecorated($decorated) |
|
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | 4 | public function isDecorated() |
|
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | 1 | public function setFormatter(OutputFormatterInterface $formatter) |
|
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | 1 | public function getFormatter() |
|
97 | |||
98 | /** |
||
99 | * @param boolean $wasWritten |
||
100 | */ |
||
101 | 5 | public function setWasWritten($wasWritten) |
|
105 | |||
106 | /** |
||
107 | * @return boolean |
||
108 | */ |
||
109 | 1 | public function getWasWritten() |
|
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function isQuiet() |
||
121 | |||
122 | /** |
||
123 | * {@inheritdoc} |
||
124 | */ |
||
125 | public function isVerbose() |
||
129 | |||
130 | /** |
||
131 | * {@inheritdoc} |
||
132 | */ |
||
133 | public function isVeryVerbose() |
||
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | public function isDebug() |
||
145 | } |
||
146 |