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