original_string: protected function getParsedColumnTable($table)
      {
          $this->validateTableName($table);
  
          $table = DB::connection($this->connection)->select(
              DB::connection($this->connection)->raw("PRAGMA table_info({$table});")
          );
  
          $columns = [];
  
          foreach ($table as $columnData) {
              $columns[ $columnData->name ] = (array) $columnData;
          }
  
          return $columns;
      }
code: protected function getParsedColumnTable($table)
      {
          $this->validateTableName($table);
  
          $table = DB::connection($this->connection)->select(
              DB::connection($this->connection)->raw("PRAGMA table_info({$table});")
          );
  
          $columns = [];
  
          foreach ($table as $columnData) {
              $columns[ $columnData->name ] = (array) $columnData;
          }
  
          return $columns;
      }
code_tokens: protected function getParsedColumnTable ( $ table ) { $ this -> validateTableName ( $ table ) ; $ table = DB :: connection ( $ this -> connection ) -> select ( DB :: connection ( $ this -> connection ) -> raw ( "PRAGMA table_info({$table});" ) ) ; $ columns = [ ] ; foreach ( $ table as $ columnData ) { $ columns [ $ columnData -> name ] = ( array ) $ columnData ; } return $ columns ; }
docstring: Returns a parsed set of columns for a table.
  
  @param string $table
  @return array associative, keyed by column name
docstring_tokens: Returns a parsed set of columns for a table .