Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

🔥 Laravel Tip: the discardChanges method.

Nov 29, 2022

On v9.29 the discardChanges method was added.

With this method, you can undo all the changes you made to the model before saving.
tip-image-0