The passed entity must be a managed entity. If the entity 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 recomputeSingleEntityChangeSet ( Doctrine\ORM\Mapping\ClassMetadata $class, object $entity ) | ||
$class | Doctrine\ORM\Mapping\ClassMetadata | The class descriptor of the entity. |
$entity | object | The entity for which to (re)calculate the change set. |