Doctrine\ODM\MongoDB\UnitOfWork::setDocumentChangeSet PHP Method

setDocumentChangeSet() public method

INTERNAL: Sets the changeset for a document.
public setDocumentChangeSet ( object $document, array $changeset )
$document object
$changeset array
    public function setDocumentChangeSet($document, $changeset)
    {
        $this->documentChangeSets[spl_object_hash($document)] = $changeset;
    }
UnitOfWork