示例#1
0
 protected function _addColumn(BaseColumn $column)
 {
     if (get_class($column) !== static::COLUMN_CLASS && static::COLUMN_CLASS !== 'Doctrine\\DBAL\\Schema\\Column') {
         $column = $this->createColumnObject(['column' => $column]);
     }
     parent::_addColumn($column);
 }