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

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

        return $name;
    }