Is there any way to detect which field was changed while in an "Updating" hook in an observer?
Most of the methods like "isDirty" are barely documented for some reason, is there a method to detect if we're creating a new model or updating an old one while in "saving" Observer hook?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2tPbDD2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire