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;
    }
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;
    }
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 ; }
Returns a parsed set of columns for a table.

@param string $table
@return array associative, keyed by column name
Returns a parsed set of columns for a table .