|
@@ 278-280 (lines=3) @@
|
| 275 |
|
unset($this->persisted[$key]); |
| 276 |
|
|
| 277 |
|
$pk = []; |
| 278 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 279 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 280 |
|
} |
| 281 |
|
|
| 282 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 283 |
|
$plugin->beforeRemove($instance, $this->space); |
|
@@ 328-330 (lines=3) @@
|
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
$pk = []; |
| 328 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 329 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 330 |
|
} |
| 331 |
|
|
| 332 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 333 |
|
$plugin->beforeUpdate($instance, $this->space); |