Can I use tap on a model that also uses model events? #1239
Unanswered
seabasseee
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love the automatic model event logging, but occasionally I would love to tap some extra values into the properties column. Is there a way to do that from my controller?
What's the best option otherwise? Temporarily turn off the automatic logging and use
activity()->...
?I would have to build my own 'old' and 'attributes' arrays that way though.
I know that there is a tap method on the model itself, but I'm looking for something like
$model->tapActivity(...)
from my controller.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions