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