src/TerminalObject/Dynamic/Spinner.php
private function drawSpinner($characters, $label)
    {
        $spinner = "";

        if ($this->firstLine) {
            $this->firstLine = false;
        } else {
            $spinner .= $this->util->cursor->up(1);
            $spinner .= $this->util->cursor->startOfCurrentLine();
            $spinner .= $this->util->cursor->deleteCurrentLine();
        }

        $spinner .= trim("{$characters} {$label}");

        $this->output->write($this->parser->apply($spinner));
    }
private function drawSpinner($characters, $label)
    {
        $spinner = "";

        if ($this->firstLine) {
            $this->firstLine = false;
        } else {
            $spinner .= $this->util->cursor->up(1);
            $spinner .= $this->util->cursor->startOfCurrentLine();
            $spinner .= $this->util->cursor->deleteCurrentLine();
        }

        $spinner .= trim("{$characters} {$label}");

        $this->output->write($this->parser->apply($spinner));
    }
private function drawSpinner ( $ characters , $ label ) { $ spinner = "" ; if ( $ this -> firstLine ) { $ this -> firstLine = false ; } else { $ spinner .= $ this -> util -> cursor -> up ( 1 ) ; $ spinner .= $ this -> util -> cursor -> startOfCurrentLine ( ) ; $ spinner .= $ this -> util -> cursor -> deleteCurrentLine ( ) ; } $ spinner .= trim ( "{$characters} {$label}" ) ; $ this -> output -> write ( $ this -> parser -> apply ( $ spinner ) ) ; }
Draw the spinner

@param string $characters
@param string $label
Draw the spinner