Firestore/src/PathTrait.php
private function fullName($projectId, $database, $relativeName = null)
    {
        return $relativeName !== null
            ? FirestoreGapicClient::documentPathName($projectId, $database, $relativeName)
            : FirestoreGapicClient::documentRootName($projectId, $database);
    }
private function fullName($projectId, $database, $relativeName = null)
    {
        return $relativeName !== null
            ? FirestoreGapicClient::documentPathName($projectId, $database, $relativeName)
            : FirestoreGapicClient::documentRootName($projectId, $database);
    }
private function fullName ( $ projectId , $ database , $ relativeName = null ) { return $ relativeName !== null ? FirestoreGapicClient :: documentPathName ( $ projectId , $ database , $ relativeName ) : FirestoreGapicClient :: documentRootName ( $ projectId , $ database ) ; }
Create a full name from a project, database and relative path.

@param string $projectId
@param string $database
@param string $relativeName
@return string
Create a full name from a project database and relative path .