original_string: private function generateOptions(): string
      {
          /** @var string[] $inputs */
          $inputs = [
              (string) (new VerbosityString($this->output)),
          ];
  
          $userDefinition = $this->console->getUserDefinition();
          // Get user arguments
          foreach ($userDefinition->getArguments() as $argument) {
              $inputs[] = Argument::toString($this->input, $argument);
          }
  
          // Get user options
          foreach ($userDefinition->getOptions() as $option) {
              $inputs[] = Option::toString($this->input, $option);
          }
  
          return implode(' ', array_filter($inputs, static function (string $item): bool {
              return $item !== '';
          }));
      }
code: private function generateOptions(): string
      {
          /** @var string[] $inputs */
          $inputs = [
              (string) (new VerbosityString($this->output)),
          ];
  
          $userDefinition = $this->console->getUserDefinition();
          // Get user arguments
          foreach ($userDefinition->getArguments() as $argument) {
              $inputs[] = Argument::toString($this->input, $argument);
          }
  
          // Get user options
          foreach ($userDefinition->getOptions() as $option) {
              $inputs[] = Option::toString($this->input, $option);
          }
  
          return implode(' ', array_filter($inputs, static function (string $item): bool {
              return $item !== '';
          }));
      }
code_tokens: private function generateOptions ( ) : string { /** @var string[] $inputs */ $ inputs = [ ( string ) ( new VerbosityString ( $ this -> output ) ) , ] ; $ userDefinition = $ this -> console -> getUserDefinition ( ) ; // Get user arguments foreach ( $ userDefinition -> getArguments ( ) as $ argument ) { $ inputs [ ] = Argument :: toString ( $ this -> input , $ argument ) ; } // Get user options foreach ( $ userDefinition -> getOptions ( ) as $ option ) { $ inputs [ ] = Option :: toString ( $ this -> input , $ option ) ; } return implode ( ' ' , array_filter ( $ inputs , static function ( string $ item ) : bool { return $ item !== '' ; } ) ) ; }
docstring: Generate options and arguments string.
docstring_tokens: Generate options and arguments string .