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