protected function getRenamedColumnsDiff()
    {
        $renamedColumns = $this->getRenamedColumns();

        if (empty($renamedColumns)) {
            return false;
        }

        $renamedColumnsDiff = new TableDiff($this->tableArr['oldName']);
        $renamedColumnsDiff->fromTable = $this->originalTable;

        foreach ($renamedColumns as $oldName => $newName) {
            $renamedColumnsDiff->renamedColumns[$oldName] = $this->table->getColumn($newName);
        }

        return $renamedColumnsDiff;
    }
protected function getRenamedColumnsDiff()
    {
        $renamedColumns = $this->getRenamedColumns();

        if (empty($renamedColumns)) {
            return false;
        }

        $renamedColumnsDiff = new TableDiff($this->tableArr['oldName']);
        $renamedColumnsDiff->fromTable = $this->originalTable;

        foreach ($renamedColumns as $oldName => $newName) {
            $renamedColumnsDiff->renamedColumns[$oldName] = $this->table->getColumn($newName);
        }

        return $renamedColumnsDiff;
    }
protected function getRenamedColumnsDiff ( ) { $ renamedColumns = $ this -> getRenamedColumns ( ) ; if ( empty ( $ renamedColumns ) ) { return false ; } $ renamedColumnsDiff = new TableDiff ( $ this -> tableArr [ 'oldName' ] ) ; $ renamedColumnsDiff -> fromTable = $ this -> originalTable ; foreach ( $ renamedColumns as $ oldName => $ newName ) { $ renamedColumnsDiff -> renamedColumns [ $ oldName ] = $ this -> table -> getColumn ( $ newName ) ; } return $ renamedColumnsDiff ; }
Get the table diff to rename columns.

@return \Doctrine\DBAL\Schema\TableDiff
Get the table diff to rename columns .