| 1 | <?php |
||
| 16 | class CliOutput implements Output |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | private $quietMode = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | public function writeln($message) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | public function write($message) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritdoc |
||
| 43 | */ |
||
| 44 | public function err($message) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | public function clearln() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param boolean $quietMode |
||
| 62 | * @return $this |
||
| 63 | */ |
||
| 64 | public function setQuietMode($quietMode) |
||
| 69 | } |
||
| 70 | |||
| 71 |