Skip to content

Commit 282e9b9

Browse files
committed
Merge pull request laravel#428 from hisorange/patch-1
Added restoring and restored model events.
2 parents 66041b1 + 4ca60f4 commit 282e9b9

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
@@ -898,7 +898,7 @@ To totally disable date mutations, simply return an empty array from the `getDat
898898
<a name="model-events"></a>
899899
## Model Events
900900

901-
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`.
901+
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`.
902902

903903
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.
904904

0 commit comments

Comments
 (0)