Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class DoctrineEvents |
||
15 | { |
||
16 | private static $prefix = 'easy_audit.doctrine.object.'; |
||
17 | |||
18 | const ENTITY_UPDATED = 'easy_audit.doctrine.object.updated'; |
||
19 | const ENTITY_CREATED = 'easy_audit.doctrine.object.created'; |
||
20 | const ENTITY_DELETED = 'easy_audit.doctrine.object.deleted'; |
||
21 | |||
22 | /** |
||
23 | * @param string $eventName |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public static function getShortEventType($eventName) |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return array |
||
34 | * |
||
35 | * @throws \ReflectionException |
||
36 | */ |
||
37 | public static function getConstants() |
||
43 |