1 | <?php |
||
8 | class EntityChangedEvent extends Event |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var EntityInterface |
||
13 | */ |
||
14 | protected $changedEntity; |
||
15 | |||
16 | /** |
||
17 | * @var EntityInterface |
||
18 | */ |
||
19 | protected $originalEntity; |
||
20 | |||
21 | /** |
||
22 | * @return EntityInterface |
||
23 | */ |
||
24 | public function getChangedEntity() |
||
28 | |||
29 | /** |
||
30 | * @param EntityInterface $changedEntity |
||
31 | */ |
||
32 | public function setChangedEntity(EntityInterface $changedEntity) |
||
36 | |||
37 | /** |
||
38 | * @return EntityInterface |
||
39 | */ |
||
40 | public function getOriginalEntity() |
||
44 | |||
45 | /** |
||
46 | * @param EntityInterface $originalEntity |
||
47 | */ |
||
48 | public function setOriginalEntity(EntityInterface $originalEntity) |
||
52 | } |
||
53 |