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