column = $column; } /** * Creates a new RemoveColumn object after assembling the * passed arguments. * * @param \Phinx\Db\Table\Table $table The table where the column is * @param string $columnName The name of the column to drop * @return static */ public static function build(Table $table, string $columnName) { $column = new Column(); $column->setName($columnName); return new static($table, $column); } /** * Returns the column to be dropped * * @return \Phinx\Db\Table\Column */ public function getColumn(): Column { return $this->column; } }