@@ 239-246 (lines=8) @@ | ||
236 | } |
|
237 | ||
238 | /** {@inheritdoc} */ |
|
239 | public function getDeleteDiff() |
|
240 | { |
|
241 | return array_udiff_assoc( |
|
242 | $this->snapshot, |
|
243 | $this->coll->toArray(), |
|
244 | static function ($a, $b) { |
|
245 | return $a === $b ? 0 : 1; |
|
246 | } |
|
247 | ); |
|
248 | } |
|
249 | ||
@@ 266-273 (lines=8) @@ | ||
263 | } |
|
264 | ||
265 | /** {@inheritdoc} */ |
|
266 | public function getInsertDiff() |
|
267 | { |
|
268 | return array_udiff_assoc( |
|
269 | $this->coll->toArray(), |
|
270 | $this->snapshot, |
|
271 | static function ($a, $b) { |
|
272 | return $a === $b ? 0 : 1; |
|
273 | } |
|
274 | ); |
|
275 | } |
|
276 |