src/Phinx/Db/Action/DropIndex.php
public static function build(Table $table, array $columns = [])
    {
        $index = new Index();
        $index->setColumns($columns);

        return new static($table, $index);
    }
public static function build(Table $table, array $columns = [])
    {
        $index = new Index();
        $index->setColumns($columns);

        return new static($table, $index);
    }
public static function build ( Table $ table , array $ columns = [ ] ) { $ index = new Index ( ) ; $ index -> setColumns ( $ columns ) ; return new static ( $ table , $ index ) ; }
Creates a new DropIndex object after assembling the passed
arguments.

@param Table $table The table where the index is
@param array $columns the indexed columns
@return DropIndex
Creates a new DropIndex object after assembling the passed arguments .