protected function validTypes(Column $column)
    {

        if (in_array($column->getType(), $this->columns) === false) {
            throw new ExceptionFactory('Column', ['COLUMN_DOES_NOT_SUPPORT', $column->getType(), $column->getName()]);
        }

        return true;
    }
protected function validTypes(Column $column)
    {

        if (in_array($column->getType(), $this->columns) === false) {
            throw new ExceptionFactory('Column', ['COLUMN_DOES_NOT_SUPPORT', $column->getType(), $column->getName()]);
        }

        return true;
    }
protected function validTypes ( Column $ column ) { if ( in_array ( $ column -> getType ( ) , $ this -> columns ) === false ) { throw new ExceptionFactory ( 'Column' , [ 'COLUMN_DOES_NOT_SUPPORT' , $ column -> getType ( ) , $ column -> getName ( ) ] ) ; } return true ; }
Check if field type support in table

@throws ExceptionFactory
@return boolean
Check if field type support in table