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