| @@ 207-216 (lines=10) @@ | ||
| 204 | * @return void |
|
| 205 | * @throws \RuntimeException |
|
| 206 | */ |
|
| 207 | protected function onChange() |
|
| 208 | { |
|
| 209 | if ($this->skipNotify) { |
|
| 210 | return; |
|
| 211 | } |
|
| 212 | $owner = $this->getConfig('update_notify_listener'); |
|
| 213 | if ($owner instanceof UpdateNotifyListenerInterface) { |
|
| 214 | $owner->updateNotify($this); |
|
| 215 | } |
|
| 216 | } |
|
| 217 | ||
| 218 | /** |
|
| 219 | * Invalid value setting handler |
|
| @@ 365-373 (lines=9) @@ | ||
| 362 | * @return void |
|
| 363 | * @throws \RuntimeException |
|
| 364 | */ |
|
| 365 | public function updateNotify(SimplePropertyInterface $property) |
|
| 366 | { |
|
| 367 | if (!$this->skipNotify) { |
|
| 368 | $owner = $this->getConfig('update_notify_listener'); |
|
| 369 | if ($owner instanceof UpdateNotifyListenerInterface) { |
|
| 370 | $owner->updateNotify($property); |
|
| 371 | } |
|
| 372 | } |
|
| 373 | } |
|
| 374 | ||
| 375 | /** |
|
| 376 | * Structure properties change event handler |
|