|
@@ 218-220 (lines=3) @@
|
| 215 |
|
unset($this->persisted[$key]); |
| 216 |
|
|
| 217 |
|
$pk = []; |
| 218 |
|
foreach($this->space->getPrimaryIndex()->parts as $part) { |
| 219 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 220 |
|
} |
| 221 |
|
foreach($this->space->getMapper()->getPlugins() as $plugin) { |
| 222 |
|
$plugin->beforeRemove($instance, $this->space); |
| 223 |
|
} |
|
@@ 274-276 (lines=3) @@
|
| 271 |
|
} |
| 272 |
|
|
| 273 |
|
$pk = []; |
| 274 |
|
foreach($this->space->getPrimaryIndex()->parts as $part) { |
| 275 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
foreach($this->space->getMapper()->getPlugins() as $plugin) { |
| 279 |
|
$plugin->beforeUpdate($instance, $this->space); |