src/Phinx/Db/Action/RenameColumn.php
public static function build(Table $table, $columnName, $newName)
    {
        $column = new Column();
        $column->setName($columnName);

        return new static($table, $column, $newName);
    }
public static function build(Table $table, $columnName, $newName)
    {
        $column = new Column();
        $column->setName($columnName);

        return new static($table, $column, $newName);
    }
public static function build ( Table $ table , $ columnName , $ newName ) { $ column = new Column ( ) ; $ column -> setName ( $ columnName ) ; return new static ( $ table , $ column , $ newName ) ; }
Creates a new RenameColumn object after building the passed
arguments

@param 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 RenameColumn
Creates a new RenameColumn object after building the passed arguments