The passed document must be a managed document. If the document already has a change set
because this method is invoked during a commit cycle then the change sets are added.
whereby changes detected in this method prevail.
public recomputeSingleDocumentChangeSet ( |
||
$class | The class descriptor of the document. | |
$document | object | The document for which to (re)calculate the change set. |