src/Driver/SQLite/SQLiteHandler.php
private function createMapping(AbstractTable $source, AbstractTable $target)
    {
        $mapping = [];
        foreach ($target->getColumns() as $name => $column) {
            if ($source->hasColumn($name)) {
                $mapping[$name] = $column->getName();
            }
        }

        return $mapping;
    }
private function createMapping(AbstractTable $source, AbstractTable $target)
    {
        $mapping = [];
        foreach ($target->getColumns() as $name => $column) {
            if ($source->hasColumn($name)) {
                $mapping[$name] = $column->getName();
            }
        }

        return $mapping;
    }
private function createMapping ( AbstractTable $ source , AbstractTable $ target ) { $ mapping = [ ] ; foreach ( $ target -> getColumns ( ) as $ name => $ column ) { if ( $ source -> hasColumn ( $ name ) ) { $ mapping [ $ name ] = $ column -> getName ( ) ; } } return $ mapping ; }
Get mapping between new and initial columns.

@param AbstractTable $source
@param AbstractTable $target
@return array
Get mapping between new and initial columns .