From Version 5.21.0-beta-2
obj setNewName( string $newName )
setNewName() is part of the Structured Schema Management suite, and is used in methods that set new names for objects. The method is only applicable to the 'table' and 'column' objects.
The new name to be provided to the method
$t = new metaObjectStructure($dict,'employees'); $t->setNewName('new-employees'); $sql = $dict->renameTableSql($t);