Level 39
I m updating
So why not launching your method or firing an event on the same time?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is there any way to run a method everytime I update a model even if no information was changed in the DB?
Im updating an image but the name must be the same after update. Tried events but didn't work, updated event is not triggered because no information was changed in the model. Tried with touch method and didn't activate the updated event either.
Thanks in advance!
Please or to participate in this conversation.