original_string: public function rename($new, $old = null)
      {
          $this->arguments[] = 'rename';
          if ($old) {
              $this->arguments[] = $old;
          }
          $this->arguments[] = $new;
          return $this;
      }
code: public function rename($new, $old = null)
      {
          $this->arguments[] = 'rename';
          if ($old) {
              $this->arguments[] = $old;
          }
          $this->arguments[] = $new;
          return $this;
      }
code_tokens: public function rename ( $ new , $ old = null ) { $ this -> arguments [ ] = 'rename' ; if ( $ old ) { $ this -> arguments [ ] = $ old ; } $ this -> arguments [ ] = $ new ; return $ this ; }
docstring: Add the rename option to the command line.
  
  @param string      $new The new name.
  
  @param null|string $old The old name.
  
  @return RemoteCommandBuilder
docstring_tokens: Add the rename option to the command line .