original_string: protected function processCsvFileOptions (Report $report)
      {
          $value = $report->getFile('file');
          $csvSwitch = "--data-file $value ";
  
          // NOTE: If column headers array is empty than we assume CSV first row
          $value = $report->getCsvfile('columnHeaderNames');
          if (empty($value)) {
              $csvSwitch .= '--csv-first-row ';
          }
          else {
              $csvSwitch .= "--csv-columns " . implode(',', $value) . ' ';
          }
  
          $value = $report->getCsvfile('charSet');
          $database = "--csv-charset $value ";
  
          $value = $report->getCsvfile('delimField');
          $database = "--csv-field-del $value ";
  
          $value = $report->getCsvfile('delimNewLine');
          $database = "--csv-record-del $value ";
  
          return $csvSwitch;
      }
code: protected function processCsvFileOptions (Report $report)
      {
          $value = $report->getFile('file');
          $csvSwitch = "--data-file $value ";
  
          // NOTE: If column headers array is empty than we assume CSV first row
          $value = $report->getCsvfile('columnHeaderNames');
          if (empty($value)) {
              $csvSwitch .= '--csv-first-row ';
          }
          else {
              $csvSwitch .= "--csv-columns " . implode(',', $value) . ' ';
          }
  
          $value = $report->getCsvfile('charSet');
          $database = "--csv-charset $value ";
  
          $value = $report->getCsvfile('delimField');
          $database = "--csv-field-del $value ";
  
          $value = $report->getCsvfile('delimNewLine');
          $database = "--csv-record-del $value ";
  
          return $csvSwitch;
      }
code_tokens: protected function processCsvFileOptions ( Report $ report ) { $ value = $ report -> getFile ( 'file' ) ; $ csvSwitch = "--data-file $value " ; // NOTE: If column headers array is empty than we assume CSV first row
   $ value = $ report -> getCsvfile ( 'columnHeaderNames' ) ; if ( empty ( $ value ) ) { $ csvSwitch .= '--csv-first-row ' ; } else { $ csvSwitch .= "--csv-columns " . implode ( ',' , $ value ) . ' ' ; } $ value = $ report -> getCsvfile ( 'charSet' ) ; $ database = "--csv-charset $value " ; $ value = $ report -> getCsvfile ( 'delimField' ) ; $ database = "--csv-field-del $value " ; $ value = $ report -> getCsvfile ( 'delimNewLine' ) ; $ database = "--csv-record-del $value " ; return $ csvSwitch ; }
docstring: Process CSV file details
  
  @return $this
docstring_tokens: Process CSV file details