laravel-eloquent-state-machines
laravel-eloquent-state-machines copied to clipboard
Add afterTransitionHooks for default state
Summary
It would be great that the default support afterTransitionHooks. Event though the default state is linked to the model creating event.
Proposal
When a model is saved, its default state value, the afterTransitionHooks should be called and the hooked functions launched.