gurgentil / laravel-eloquent-sequencer

A package that allows you to create and manage sequences on Eloquent models.
MIT License
156 stars 13 forks source link

Listen for "saving" event too? #6

Closed lrathbun closed 4 years ago

lrathbun commented 4 years ago

Is there are reason to not listen to the "saving" event as well as "updating"? Your current handleSequenceableUpdate() method should work fine for both.

lrathbun commented 4 years ago

Oh, never-mind. I never realized that using the save() eloquent method triggered both events.