Laravel: how to create a function After or Before save|update : <p>I need to generate a function to call after or before save() or update() but i don't know how to do.
I think I need a callback from save() update() but I don't know how to do.
Thanks</p>
