STATE_NEW: the document is not persisted, but a valid mapped document
STATE_MANAGED: the document is tracked and will be updated on flush
STATE_REMOVED: the document is scheduled for removal
STATE_DETACHED: there is a corresponding Node in storage, but this document is not bound to it
public getDocumentState ( object $document ) : integer | ||
$document | object | the document to get the state of |
return | integer | one of the STATE_* constants of this class |