amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

discard-eloquent-model-changes-in-laravel-9x/ #59

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Discard Eloquent model changes in Laravel 9.x — Amit Merchant — A blog on PHP, JavaScript, and more

In the recent Laravel 9.x release, the framework introduced a new discardChanges() method on the Model class. This method allows you to discard the changes made to the model instance. So, let’s see how we can use this method.

https://www.amitmerchant.com/discard-eloquent-model-changes-in-laravel-9x/

rodrigopedra commented 2 years ago

Thanks for linking my response =) I have your blog on my RSS reader, always a good read.

amitmerchant1990 commented 2 years ago

Thanks for you nice words, @rodrigopedra :)