|
@@ 1221-1225 (lines=5) @@
|
| 1218 |
|
$this->recomputeSingleDocumentChangeSet($class, $document); |
| 1219 |
|
} |
| 1220 |
|
|
| 1221 |
|
if ($hasPreUpdateListeners) { |
| 1222 |
|
$this->evm->dispatchEvent(Events::preUpdate, new Event\PreUpdateEventArgs( |
| 1223 |
|
$document, $this->dm, $this->documentChangeSets[$oid]) |
| 1224 |
|
); |
| 1225 |
|
} |
| 1226 |
|
$this->cascadePreUpdate($class, $document); |
| 1227 |
|
|
| 1228 |
|
if ( ! empty($this->documentChangeSets[$oid]) || $this->hasScheduledCollections($document)) { |
|
@@ 1286-1290 (lines=5) @@
|
| 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]) |
| 1289 |
|
); |
| 1290 |
|
} |
| 1291 |
|
|
| 1292 |
|
$this->cascadePreUpdate($entryClass, $entry); |
| 1293 |
|
} |