|
@@ 249-251 (lines=3) @@
|
| 246 |
|
unset($this->persisted[$key]); |
| 247 |
|
|
| 248 |
|
$pk = []; |
| 249 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 250 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 251 |
|
} |
| 252 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 253 |
|
$plugin->beforeRemove($instance, $this->space); |
| 254 |
|
} |
|
@@ 316-318 (lines=3) @@
|
| 313 |
|
} |
| 314 |
|
|
| 315 |
|
$pk = []; |
| 316 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 317 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 321 |
|
$plugin->beforeUpdate($instance, $this->space); |