/var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Action
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Action/RenameColumn.php (1812B)
newName = $newName;
$this->column = $column;
}
/**
* Creates a new RenameColumn object after building the passed
* arguments
*
* @param \Phinx\Db\Table\Table $table The table where the column is
* @param mixed $columnName The name of the column to be changed
* @param mixed $newName The new name for the column
*
* @return \Phinx\Db\Action\RenameColumn
*/
public static function build(Table $table, $columnName, $newName)
{
$column = new Column();
$column->setName($columnName);
return new static($table, $column, $newName);
}
/**
* Returns the column to be changed
*
* @return \Phinx\Db\Table\Column
*/
public function getColumn()
{
return $this->column;
}
/**
* Returns the new name for the column
*
* @return string
*/
public function getNewName()
{
return $this->newName;
}
}