/var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Db/Action
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Db/Action/RenameColumn.php (1822B)
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 string $columnName The name of the column to be changed
* @param string $newName The new name for the column
* @return static
*/
public static function build(Table $table, string $columnName, string $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(): Column
{
return $this->column;
}
/**
* Returns the new name for the column
*
* @return string
*/
public function getNewName(): string
{
return $this->newName;
}
}