Understanding isClean() and isDirty() in Eloquent Models
I have a slight misunderstanding about the isClean() and isDirty() methods in Eloquent. I understand that isDirty() checks whether the model's attributes have been modified since it was retrieved. However, what I'm unclear about is how this comparison is actually performed behind the scenes.