protected function extractColumnSize($column, $dbType, $precision, $scale, $length)
    {
        $column->size = trim($length) === '' ? null : (int) $length;
        $column->precision = trim($precision) === '' ? null : (int) $precision;
        $column->scale = trim($scale) === '' ? null : (int) $scale;
    }
protected function extractColumnSize($column, $dbType, $precision, $scale, $length)
    {
        $column->size = trim($length) === '' ? null : (int) $length;
        $column->precision = trim($precision) === '' ? null : (int) $precision;
        $column->scale = trim($scale) === '' ? null : (int) $scale;
    }
protected function extractColumnSize ( $ column , $ dbType , $ precision , $ scale , $ length ) { $ column -> size = trim ( $ length ) === '' ? null : ( int ) $ length ; $ column -> precision = trim ( $ precision ) === '' ? null : ( int ) $ precision ; $ column -> scale = trim ( $ scale ) === '' ? null : ( int ) $ scale ; }
Extracts size, precision and scale information from column's DB type.
@param ColumnSchema $column
@param string $dbType the column's DB type
@param string $precision total number of digits.
This parameter is available since version 2.0.4.
@param string $scale number of digits on the right of the decimal separator.
This parameter is available since version 2.0.4.
@param string $length length for character types.
This parameter is available since version 2.0.4.
Extracts size precision and scale information from column s DB type .