Hello community,
How can I get the model name from the $event object?
Thank you.
Try…
$event->sender::class ?
Great, thank you.
Btw, is there any docs that explain all data and way to access them?
I now need all the data from that class (array).
And I need to change those values.
Yes, but why?