You can listen for the standard events dispatched by Eloquent models to hook into the following moments in a model's lifecycle: retrieved, creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored, and replicating.
Waterhole models also dispatch an initialized event whenever a new model instance is constructed. This can be useful if you need to define new attribute casts, or set the default value of an attribute:
You're going a bit too fast! Take a break and try again in a moment.
Something went wrong! Please reload the page and try again.
Something Went Wrong
To pick up a sortable item, press space or enter. While dragging, use the arrow keys to move the item. Press space or enter again to drop the item in its new position, or press escape to cancel.