Closed florentsorel closed 8 years ago
In Model class I saw boot method start the bootXXX method :)
The problem is, the updated
event is never called in my case :/. created
and deleted
works but updated
don't.
What are you doing to trigger an update? Are you changing a field on your model?
I use update method, User::update
And are you updating any values on the model? Laravel is smart enough not to send the update event when no values have changed.
I'm assuming that you never updated a value on your model, and that's why update wasn't called. If I'm wrong, reopen this issue.
Hi,
I use Log model events, so I've implemented the interface in my User model and add the trait, but the
bootLogsActivity
method is never called. So I've tried the code below in my model:The die and dump is never called. What's wrong in my case ?