lib/Doctrine/DBAL/Types/TypeRegistry.php
public function lookupName(Type $type) : string
    {
        $name = $this->findTypeName($type);

        if ($name === null) {
            throw DBALException::typeNotRegistered($type);
        }

        return $name;
    }
public function lookupName(Type $type) : string
    {
        $name = $this->findTypeName($type);

        if ($name === null) {
            throw DBALException::typeNotRegistered($type);
        }

        return $name;
    }
public function lookupName ( Type $ type ) : string { $ name = $ this -> findTypeName ( $ type ) ; if ( $ name === null ) { throw DBALException :: typeNotRegistered ( $ type ) ; } return $ name ; }
Finds a name for the given type.

@throws DBALException
Finds a name for the given type .