Tries to find a document with the given id in the identity map of
this UnitOfWork.
public getDocumentById ( string $id ) : object | false | ||
$id | string | The document id to look for. |
Résultat | object | false | Returns the document with the specified id if it exists in this UnitOfWork, FALSE otherwise. |