src/Schema/AbstractColumn.php
public function getAbstractType(): string
    {
        foreach ($this->reverseMapping as $type => $candidates) {
            foreach ($candidates as $candidate) {
                if (is_string($candidate)) {
                    if (strtolower($candidate) == strtolower($this->type)) {
                        return $type;
                    }

                    continue;
                }

                if (strtolower($candidate['type']) != strtolower($this->type)) {
                    continue;
                }

                foreach ($candidate as $option => $required) {
                    if ($option == 'type') {
                        continue;
                    }

                    if ($this->{$option} != $required) {
                        continue 2;
                    }
                }

                return $type;
            }
        }

        return 'unknown';
    }
public function getAbstractType(): string
    {
        foreach ($this->reverseMapping as $type => $candidates) {
            foreach ($candidates as $candidate) {
                if (is_string($candidate)) {
                    if (strtolower($candidate) == strtolower($this->type)) {
                        return $type;
                    }

                    continue;
                }

                if (strtolower($candidate['type']) != strtolower($this->type)) {
                    continue;
                }

                foreach ($candidate as $option => $required) {
                    if ($option == 'type') {
                        continue;
                    }

                    if ($this->{$option} != $required) {
                        continue 2;
                    }
                }

                return $type;
            }
        }

        return 'unknown';
    }
public function getAbstractType ( ) : string { foreach ( $ this -> reverseMapping as $ type => $ candidates ) { foreach ( $ candidates as $ candidate ) { if ( is_string ( $ candidate ) ) { if ( strtolower ( $ candidate ) == strtolower ( $ this -> type ) ) { return $ type ; } continue ; } if ( strtolower ( $ candidate [ 'type' ] ) != strtolower ( $ this -> type ) ) { continue ; } foreach ( $ candidate as $ option => $ required ) { if ( $ option == 'type' ) { continue ; } if ( $ this -> { $ option } != $ required ) { continue 2 ; } } return $ type ; } } return 'unknown' ; }
DBMS specific reverse mapping must map database specific type into limited set of abstract
types.

@return string
DBMS specific reverse mapping must map database specific type into limited set of abstract types .