Skip to content

Commit 4ca60f4

Browse files
author
hisorange
committed
Added restoring and restored model events.
Added missing restoreing and restored model events.
1 parent db2836e commit 4ca60f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ To totally disable date mutations, simply return an empty array from the `getDat
893893
<a name="model-events"></a>
894894
## Model Events
895895

896-
Eloquent models fire several events, allowing you to hook into various points in the model's lifecycle using the following methods: `creating`, `created`, `updating`, `updated`, `saving`, `saved`, `deleting`, `deleted`.
896+
Eloquent models fire several events, allowing you to hook into various points in the model's lifecycle using the following methods: `creating`, `created`, `updating`, `updated`, `saving`, `saved`, `deleting`, `deleted`, `restoring`, `restored`.
897897

898898
Whenever a new item is saved for the first time, the `creating` and `created` events will fire. If an item is not new and the `save` method is called, the `updating` / `updated` events will fire. In both cases, the `saving` / `saved` events will fire.
899899

0 commit comments

Comments
 (0)