Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace Flow\Data; |
4 | |
5 | /** |
6 | * Listeners that receive notifications about the lifecycle of |
7 | * a domain model. |
8 | */ |
9 | interface LifecycleHandler { |
10 | public function onAfterLoad( $object, array $old ); |
11 | |
12 | public function onAfterInsert( $object, array $new, array $metadata ); |
13 | |
14 | public function onAfterUpdate( $object, array $old, array $new, array $metadata ); |
15 | |
16 | public function onAfterRemove( $object, array $old, array $metadata ); |
17 | |
18 | public function onAfterClear(); |
19 | } |