src/Helper/TableManipulator.php
public function renameTable($strTableName, $strNewTableName)
    {
        $this->checkTableExists($strTableName);
        $this->checkTableDoesNotExist($strNewTableName);

        $this->connection->query(sprintf(self::STATEMENT_RENAME_TABLE, $strTableName, $strNewTableName));
    }
public function renameTable($strTableName, $strNewTableName)
    {
        $this->checkTableExists($strTableName);
        $this->checkTableDoesNotExist($strNewTableName);

        $this->connection->query(sprintf(self::STATEMENT_RENAME_TABLE, $strTableName, $strNewTableName));
    }
Renames a table with the given name to the given new name.

@param string $strTableName    The name of the table to rename.

@param string $strNewTableName The name to which the table shall be renamed to.

@return void

@throws \Exception If an invalid table name has been passed.