Spanner/src/Database.php
private function fullyQualifiedDatabaseName($name)
    {
        $instance = InstanceAdminClient::parseName($this->instance->name())['instance'];

        try {
            return GapicSpannerClient::databaseName(
                $this->projectId,
                $instance,
                $name
            );
        //@codeCoverageIgnoreStart
        } catch (ValidationException $e) {
            return $name;
        }
        //@codeCoverageIgnoreEnd
    }
private function fullyQualifiedDatabaseName($name)
    {
        $instance = InstanceAdminClient::parseName($this->instance->name())['instance'];

        try {
            return GapicSpannerClient::databaseName(
                $this->projectId,
                $instance,
                $name
            );
        //@codeCoverageIgnoreStart
        } catch (ValidationException $e) {
            return $name;
        }
        //@codeCoverageIgnoreEnd
    }
private function fullyQualifiedDatabaseName ( $ name ) { $ instance = InstanceAdminClient :: parseName ( $ this -> instance -> name ( ) ) [ 'instance' ] ; try { return GapicSpannerClient :: databaseName ( $ this -> projectId , $ instance , $ name ) ; //@codeCoverageIgnoreStart } catch ( ValidationException $ e ) { return $ name ; } //@codeCoverageIgnoreEnd }
Convert the simple database name to a fully qualified name.

@return string
Convert the simple database name to a fully qualified name .