@@ 1247-1251 (lines=5) @@ | ||
1244 | $this->recomputeSingleDocumentChangeSet($class, $document); |
|
1245 | } |
|
1246 | ||
1247 | if ($hasPreUpdateListeners) { |
|
1248 | $this->evm->dispatchEvent(Events::preUpdate, new Event\PreUpdateEventArgs( |
|
1249 | $document, $this->dm, $this->documentChangeSets[$oid]) |
|
1250 | ); |
|
1251 | } |
|
1252 | $this->cascadePreUpdate($class, $document); |
|
1253 | ||
1254 | if ( ! empty($this->documentChangeSets[$oid]) || $this->hasScheduledCollections($document)) { |
|
@@ 1312-1316 (lines=5) @@ | ||
1309 | )); |
|
1310 | $this->recomputeSingleDocumentChangeSet($entryClass, $entry); |
|
1311 | } |
|
1312 | if ($hasPreUpdateListeners) { |
|
1313 | $this->evm->dispatchEvent(Events::preUpdate, new Event\PreUpdateEventArgs( |
|
1314 | $entry, $this->dm, $this->documentChangeSets[$entryOid]) |
|
1315 | ); |
|
1316 | } |
|
1317 | ||
1318 | $this->cascadePreUpdate($entryClass, $entry); |
|
1319 | } |