@@ 1214-1219 (lines=6) @@ | ||
1211 | // only ReferenceMany collection is scheduled for update |
|
1212 | $this->documentChangeSets[$oid] = array(); |
|
1213 | } |
|
1214 | if ($hasPreUpdateLifecycleCallbacks) { |
|
1215 | $class->invokeLifecycleCallbacks(Events::preUpdate, $document, array( |
|
1216 | new Event\PreUpdateEventArgs($document, $this->dm, $this->documentChangeSets[$oid]) |
|
1217 | )); |
|
1218 | $this->recomputeSingleDocumentChangeSet($class, $document); |
|
1219 | } |
|
1220 | ||
1221 | if ($hasPreUpdateListeners) { |
|
1222 | $this->evm->dispatchEvent(Events::preUpdate, new Event\PreUpdateEventArgs( |
|
@@ 1280-1285 (lines=6) @@ | ||
1277 | continue; |
|
1278 | } |
|
1279 | ||
1280 | if ( ! empty($entryClass->lifecycleCallbacks[Events::preUpdate])) { |
|
1281 | $entryClass->invokeLifecycleCallbacks(Events::preUpdate, $entry, array( |
|
1282 | new Event\PreUpdateEventArgs($entry, $this->dm, $this->documentChangeSets[$entryOid]) |
|
1283 | )); |
|
1284 | $this->recomputeSingleDocumentChangeSet($entryClass, $entry); |
|
1285 | } |
|
1286 | if ($hasPreUpdateListeners) { |
|
1287 | $this->evm->dispatchEvent(Events::preUpdate, new Event\PreUpdateEventArgs( |
|
1288 | $entry, $this->dm, $this->documentChangeSets[$entryOid]) |