public function extractType(ColumnSchema $column, $dbType)
    {
        if (false !== $simpleType = strstr($dbType, '(', true)) {
        } elseif (false !== $simpleType = strstr($dbType, '<', true)) {
        } else {
            $simpleType = $dbType;
        }

        $column->type = static::extractSimpleType($simpleType, $column->size, $column->scale);
    }
public function extractType(ColumnSchema $column, $dbType)
    {
        if (false !== $simpleType = strstr($dbType, '(', true)) {
        } elseif (false !== $simpleType = strstr($dbType, '<', true)) {
        } else {
            $simpleType = $dbType;
        }

        $column->type = static::extractSimpleType($simpleType, $column->size, $column->scale);
    }
public function extractType ( ColumnSchema $ column , $ dbType ) { if ( false !== $ simpleType = strstr ( $ dbType , '(' , true ) ) { } elseif ( false !== $ simpleType = strstr ( $ dbType , '<' , true ) ) { } else { $ simpleType = $ dbType ; } $ column -> type = static :: extractSimpleType ( $ simpleType , $ column -> size , $ column -> scale ) ; }
Extracts the DreamFactory simple type from DB type.

@param ColumnSchema $column
@param string       $dbType DB type
Extracts the DreamFactory simple type from DB type .