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 | namespace Apie\Common\Enums; |
| 3 | |
| 4 | use Apie\Core\Attributes\Description; |
| 5 | |
| 6 | enum AuditLogEvent: string |
| 7 | { |
| 8 | #[Description('Object was created')] |
| 9 | case Created = 'Created'; |
| 10 | #[Description('Object was modified')] |
| 11 | case Modified = 'Modified'; |
| 12 | #[Description('Object was created and ignored the previous object')] |
| 13 | case Replaced = 'Replaced'; |
| 14 | #[Description('Object was removed')] |
| 15 | case Removed = 'Removed'; |
| 16 | #[Description('Object was read')] |
| 17 | case Read = 'Read'; |
| 18 | #[Description('An action was performed on the object')] |
| 19 | case MethodCalled = 'MethodCalled'; |
| 20 | #[Description('A database migration was performed')] |
| 21 | case Migration = 'Migration'; |
| 22 | } |