/var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Db/Action
NameSizeModeActions
Action.php6860644editdlrm
AddColumn.php15700644editdlrm
AddForeignKey.php22740644editdlrm
AddIndex.php16750644editdlrm
ChangeColumn.php22940644editdlrm
ChangeComment.php8630644editdlrm
ChangePrimaryKey.php8940644editdlrm
CreateTable.php2020644editdlrm
DropForeignKey.php17440644editdlrm
DropIndex.php17390644editdlrm
DropTable.php2000644editdlrm
RemoveColumn.php13490644editdlrm
RenameColumn.php18220644editdlrm
RenameTable.php8140644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Db/Action/AddIndex.php (1675B)
index = $index; } /** * Creates a new AddIndex object after building the index object with the * provided arguments * * @param \Phinx\Db\Table\Table $table The table to add the index to * @param string|string[]|\Phinx\Db\Table\Index $columns The columns to index * @param array $options Additional options for the index creation * @return static */ public static function build(Table $table, $columns, array $options = []) { // create a new index object if strings or an array of strings were supplied $index = $columns; if (!$columns instanceof Index) { $index = new Index(); $index->setColumns($columns); $index->setOptions($options); } return new static($table, $index); } /** * Returns the index to be added * * @return \Phinx\Db\Table\Index */ public function getIndex(): Index { return $this->index; } }