Beispiel #1
0
 public function setUp()
 {
     $this->console = new \dAshesss\Console(true);
     $this->console->mute();
     $this->cursor = $this->console->cursor();
 }
Beispiel #2
0
 /**
  * Clears entire screen and moves cursor to upper left corner
  */
 public function clear()
 {
     $this->console->writeCode(Code::SCREEN_CLEAR);
     $this->console->cursor()->moveTo(0, 0);
 }