@@ 247-254 (lines=8) @@ | ||
244 | } |
|
245 | ||
246 | /** {@inheritdoc} */ |
|
247 | public function getDeleteDiff() |
|
248 | { |
|
249 | return array_udiff_assoc( |
|
250 | $this->snapshot, |
|
251 | $this->coll->toArray(), |
|
252 | function ($a, $b) { return $a === $b ? 0 : 1; } |
|
253 | ); |
|
254 | } |
|
255 | ||
256 | /** {@inheritdoc} */ |
|
257 | public function getDeletedDocuments() |
|
@@ 272-279 (lines=8) @@ | ||
269 | } |
|
270 | ||
271 | /** {@inheritdoc} */ |
|
272 | public function getInsertDiff() |
|
273 | { |
|
274 | return array_udiff_assoc( |
|
275 | $this->coll->toArray(), |
|
276 | $this->snapshot, |
|
277 | function ($a, $b) { return $a === $b ? 0 : 1; } |
|
278 | ); |
|
279 | } |
|
280 | ||
281 | /** {@inheritdoc} */ |
|
282 | public function getInsertedDocuments() |