public function getDocumentChangeSet($document)
    {
        $oid = spl_object_hash($document);
        if (isset($this->documentChangeSets[$oid])) {
            return $this->documentChangeSets[$oid];
        }
        return array();
    }
public function getDocumentChangeSet($document)
    {
        $oid = spl_object_hash($document);
        if (isset($this->documentChangeSets[$oid])) {
            return $this->documentChangeSets[$oid];
        }
        return array();
    }
public function getDocumentChangeSet ( $ document ) { $ oid = spl_object_hash ( $ document ) ; if ( isset ( $ this -> documentChangeSets [ $ oid ] ) ) { return $ this -> documentChangeSets [ $ oid ] ; } return array ( ) ; }
Gets the changeset for a document.

@param object $document
@return array
Gets the changeset for a document .