Skip to content

Commit

Permalink
Organize events
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Sep 27, 2024
1 parent 29b33cc commit 9e2a17e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Concerns/HasEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,11 @@ protected static function registerModelEvent(string $event, mixed $callback): vo
public function getObservableEvents(): array
{
return [
'retrieved', 'creating', 'created', 'updating', 'updated',
'saving', 'saved', 'deleting', 'deleted',
'retrieved',
'creating', 'created',
'updating', 'updated',
'saving', 'saved',
'deleting', 'deleted',
];
}

Expand Down

0 comments on commit 9e2a17e

Please sign in to comment.