lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function renameTable($name, $newName)
    {
        $tableDiff          = new TableDiff($name);
        $tableDiff->newName = $newName;
        $this->alterTable($tableDiff);
    }
public function renameTable($name, $newName)
    {
        $tableDiff          = new TableDiff($name);
        $tableDiff->newName = $newName;
        $this->alterTable($tableDiff);
    }
public function renameTable ( $ name , $ newName ) { $ tableDiff = new TableDiff ( $ name ) ; $ tableDiff -> newName = $ newName ; $ this -> alterTable ( $ tableDiff ) ; }
Renames a given table to another name.

@param string $name    The current name of the table.
@param string $newName The new name of the table.

@return void
Renames a given table to another name .