original_string: public function clearLine()
      {
          if (!$this->isClearLineEnabled()) {
              return $this;
          }
  
          $this->cursorReset();
          $this->write(str_repeat(' ', $this->getTerminalWidth()));
          $this->cursorReset();
  
          $this->disableClearLine();
  
          return $this;
      }
code: public function clearLine()
      {
          if (!$this->isClearLineEnabled()) {
              return $this;
          }
  
          $this->cursorReset();
          $this->write(str_repeat(' ', $this->getTerminalWidth()));
          $this->cursorReset();
  
          $this->disableClearLine();
  
          return $this;
      }
code_tokens: public function clearLine ( ) { if ( ! $ this -> isClearLineEnabled ( ) ) { return $ this ; } $ this -> cursorReset ( ) ; $ this -> write ( str_repeat ( ' ' , $ this -> getTerminalWidth ( ) ) ) ; $ this -> cursorReset ( ) ; $ this -> disableClearLine ( ) ; return $ this ; }
docstring: Clear the line, based on the terminal width and disable clear line.
  
  @return $this
docstring_tokens: Clear the line based on the terminal width and disable clear line .