original_string: protected function assemble()
      {
          $assembled = $this->command;
          foreach ($this->arguments as $key => $value) {
              if (is_int($key)
                  && false === strpos((string) $key, '-')) {
                  $assembled .= ' '.escapeshellarg($value);
                  continue;
              }
              $assembled .= ' '.escapeshellarg($key);
              $assembled .= ' '.escapeshellarg($value);
          }
  
          return $assembled;
      }
code: protected function assemble()
      {
          $assembled = $this->command;
          foreach ($this->arguments as $key => $value) {
              if (is_int($key)
                  && false === strpos((string) $key, '-')) {
                  $assembled .= ' '.escapeshellarg($value);
                  continue;
              }
              $assembled .= ' '.escapeshellarg($key);
              $assembled .= ' '.escapeshellarg($value);
          }
  
          return $assembled;
      }
code_tokens: protected function assemble ( ) { $ assembled = $ this -> command ; foreach ( $ this -> arguments as $ key => $ value ) { if ( is_int ( $ key ) && false === strpos ( ( string ) $ key , '-' ) ) { $ assembled .= ' ' . escapeshellarg ( $ value ) ; continue ; } $ assembled .= ' ' . escapeshellarg ( $ key ) ; $ assembled .= ' ' . escapeshellarg ( $ value ) ; } return $ assembled ; }
docstring: Assemble command and arguments.
  
  @return string
docstring_tokens: Assemble command and arguments .