ATOM-Group
4 years ago
5357
14
Eloquent

Listen to *any* save/update/create event for *any* model?

Posted 4 years ago by ATOM-Group

I want to listen for any time a model changes, and I don't care what model it is. I don't want to have to set up a listener for every model, so I'd like to be able to just listen to a generic Model::saved(...) event.

Does such a thing exist?

Please sign in or create an account to participate in this conversation.