This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Description
I've been looking at the docs and the code but I can't find a way to get the id of a new document. Is it possible?
Here's an example:
$firestoreClient = new FirestoreClient('xxx', 'yyyyyyyyyyyyyyyyyyyyyyy', [
'database' => '(default)',
]);
$document = new FirestoreDocument;
$document->fillValues($data);
$firestoreClient->addDocument('my-collection', $document);
$newdocid = ??????