00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00016 class TextOutput
00017 {
00021 public function write($text)
00022 {
00023 echo $text;
00024
00025 return $this;
00026 }
00027
00031 public function writeLine($text)
00032 {
00033 echo $text."\n";
00034
00035 return $this;
00036 }
00037
00041 public function newLine()
00042 {
00043 echo "\n";
00044
00045 return $this;
00046 }
00047
00051 public function setMode(
00052 $attribute = ConsoleMode::ATTR_RESET_ALL,
00053 $foreground = ConsoleMode::FG_WHITE,
00054 $background = ConsoleMode::BG_BLACK
00055 )
00056 {
00057
00058
00059 return $this;
00060 }
00061
00065 public function resetAll()
00066 {
00067
00068
00069 return $this;
00070 }
00071 }
00072 ?>