PhpSchool\CliMenu\Terminal\TerminalInterface::clean PHP 메소드

clean() 공개 메소드

Clean the whole console without jumping the window
public clean ( ) : void
리턴 void
    public function clean();

Usage Example

예제 #1
0
 /**
  * @throws InvalidTerminalException
  */
 public function closeThis()
 {
     $this->terminal->clean();
     $this->terminal->moveCursorToTop();
     $this->open = false;
 }