Tries to find an document with the given identifier in the identity map of
this UnitOfWork.
public tryGetById ( mixed $id ) : mixed | ||
$id | mixed | The document identifier to look for. |
return | mixed | Returns the document with the specified identifier if it exists in this UnitOfWork, FALSE otherwise. |