/var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Action
NameSizeModeActions
Action.php6790644editdlrm
AddColumn.php15400644editdlrm
AddForeignKey.php22700644editdlrm
AddIndex.php17560644editdlrm
ChangeColumn.php22270644editdlrm
ChangeComment.php8460644editdlrm
ChangePrimaryKey.php8940644editdlrm
CreateTable.php2020644editdlrm
DropForeignKey.php17560644editdlrm
DropIndex.php17790644editdlrm
DropTable.php2000644editdlrm
RemoveColumn.php13630644editdlrm
RenameColumn.php18120644editdlrm
RenameTable.php7980644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Action/ChangeColumn.php (2227B)
columnName = $columnName; $this->column = $column; // if the name was omitted use the existing column name if ($column->getName() === null || strlen($column->getName()) === 0) { $column->setName($columnName); } } /** * Creates a new ChangeColumn object after building the column definition * out of the provided arguments * * @param \Phinx\Db\Table\Table $table The table to alter * @param mixed $columnName The name of the column to change * @param mixed $type The type of the column * @param mixed $options Additional options for the column * * @return \Phinx\Db\Action\ChangeColumn */ public static function build(Table $table, $columnName, $type = null, $options = []) { $column = new Column(); $column->setName($columnName); $column->setType($type); $column->setOptions($options); // map options to column methods return new static($table, $columnName, $column); } /** * Returns the name of the column to change * * @return string */ public function getColumnName() { return $this->columnName; } /** * Returns the column definition * * @return \Phinx\Db\Table\Column */ public function getColumn() { return $this->column; } }