/var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Plan
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/robmorgan/phinx/src/Phinx/Db/Plan/NewTable.php (1933B)
table = $table;
}
/**
* Adds a column to the collection
*
* @param \Phinx\Db\Table\Column $column The column description
*
* @return void
*/
public function addColumn(Column $column)
{
$this->columns[] = $column;
}
/**
* Adds an index to the collection
*
* @param \Phinx\Db\Table\Index $index The index description
*
* @return void
*/
public function addIndex(Index $index)
{
$this->indexes[] = $index;
}
/**
* Returns the table object associated to this collection
*
* @return \Phinx\Db\Table\Table
*/
public function getTable()
{
return $this->table;
}
/**
* Returns the columns collection
*
* @return \Phinx\Db\Table\Column[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* Returns the indexes collection
*
* @return \Phinx\Db\Table\Index[]
*/
public function getIndexes()
{
return $this->indexes;
}
}