original_string: protected function getTableDataArrayAsString($table, $exceptFields = [])
      {
          $fields = \DB::getSchemaBuilder()->getColumnListing($table);
          $fields = array_diff($fields, $exceptFields);
  
          $array = \DB::table($table)->get($fields)->map(function ($item) {
              return (array) $item;
          })->all();
  
          return $this->varExport($array, str_repeat(' ', 12));
      }
code: protected function getTableDataArrayAsString($table, $exceptFields = [])
      {
          $fields = \DB::getSchemaBuilder()->getColumnListing($table);
          $fields = array_diff($fields, $exceptFields);
  
          $array = \DB::table($table)->get($fields)->map(function ($item) {
              return (array) $item;
          })->all();
  
          return $this->varExport($array, str_repeat(' ', 12));
      }
code_tokens: protected function getTableDataArrayAsString ( $ table , $ exceptFields = [ ] ) { $ fields = \ DB :: getSchemaBuilder ( ) -> getColumnListing ( $ table ) ; $ fields = array_diff ( $ fields , $ exceptFields ) ; $ array = \ DB :: table ( $ table ) -> get ( $ fields ) -> map ( function ( $ item ) { return ( array ) $ item ; } ) -> all ( ) ; return $ this -> varExport ( $ array , str_repeat ( ' ' , 12 ) ) ; }
docstring: Get data array from table as string result var_export.
  
  @param string $table
  @param array  $exceptFields
  
  @return string
docstring_tokens: Get data array from table as string result var_export .