src/TerminalObject/Basic/ClearLine.php
public function result()
    {
        $string = "";
        while ($this->count > 0) {
            $string .= $this->util->cursor->startOfCurrentLine();
            $string .= $this->util->cursor->deleteCurrentLine();
            --$this->count;

            $string .= $this->util->cursor->up();
        }

        $string .= $this->util->cursor->down();

        return $string;
    }
public function result()
    {
        $string = "";
        while ($this->count > 0) {
            $string .= $this->util->cursor->startOfCurrentLine();
            $string .= $this->util->cursor->deleteCurrentLine();
            --$this->count;

            $string .= $this->util->cursor->up();
        }

        $string .= $this->util->cursor->down();

        return $string;
    }
public function result ( ) { $ string = "" ; while ( $ this -> count > 0 ) { $ string .= $ this -> util -> cursor -> startOfCurrentLine ( ) ; $ string .= $ this -> util -> cursor -> deleteCurrentLine ( ) ; -- $ this -> count ; $ string .= $ this -> util -> cursor -> up ( ) ; } $ string .= $ this -> util -> cursor -> down ( ) ; return $ string ; }
Clear the lines.

@return string
Clear the lines .