| @@ 286-294 (lines=9) @@ | ||
| 283 | /** |
|
| 284 | * @return EntityChangedEvent |
|
| 285 | */ |
|
| 286 | protected function getEvent() |
|
| 287 | { |
|
| 288 | if (null === $this->event) { |
|
| 289 | $this->event = new EntityChangedEvent(); |
|
| 290 | $this->event->setTarget($this); |
|
| 291 | } |
|
| 292 | ||
| 293 | return $this->event; |
|
| 294 | } |
|
| 295 | ||
| 296 | /** |
|
| 297 | * @param EntityInterface $createdEntity |
|
| @@ 278-286 (lines=9) @@ | ||
| 275 | /** |
|
| 276 | * @return EntityChangedEvent |
|
| 277 | */ |
|
| 278 | protected function getEvent() |
|
| 279 | { |
|
| 280 | if (null === $this->event) { |
|
| 281 | $this->event = new EntityChangedEvent(); |
|
| 282 | $this->event->setTarget($this); |
|
| 283 | } |
|
| 284 | ||
| 285 | return $this->event; |
|
| 286 | } |
|
| 287 | ||
| 288 | /** |
|
| 289 | * @param EntityInterface $createdEntity |
|