lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
public function getDoctrineTypeMapping($dbType)
    {
        if ($this->doctrineTypeMapping === null) {
            $this->initializeAllDoctrineTypeMappings();
        }

        $dbType = strtolower($dbType);

        if (! isset($this->doctrineTypeMapping[$dbType])) {
            throw new DBALException('Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.');
        }

        return $this->doctrineTypeMapping[$dbType];
    }
public function getDoctrineTypeMapping($dbType)
    {
        if ($this->doctrineTypeMapping === null) {
            $this->initializeAllDoctrineTypeMappings();
        }

        $dbType = strtolower($dbType);

        if (! isset($this->doctrineTypeMapping[$dbType])) {
            throw new DBALException('Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.');
        }

        return $this->doctrineTypeMapping[$dbType];
    }
public function getDoctrineTypeMapping ( $ dbType ) { if ( $ this -> doctrineTypeMapping === null ) { $ this -> initializeAllDoctrineTypeMappings ( ) ; } $ dbType = strtolower ( $ dbType ) ; if ( ! isset ( $ this -> doctrineTypeMapping [ $ dbType ] ) ) { throw new DBALException ( 'Unknown database type ' . $ dbType . ' requested, ' . static :: class . ' may not support it.' ) ; } return $ this -> doctrineTypeMapping [ $ dbType ] ; }
Gets the Doctrine type that is mapped for the given database column type.

@param string $dbType

@return string

@throws DBALException
Gets the Doctrine type that is mapped for the given database column type .