I have several classes where I update the model. In the model I have created boot methods where I call some logic and in this logic I want to know which class is the initiator of the Model being updating or creating.
How can I find out this?
I have several classes where I update the model. In the model I have created boot methods where I call some logic and in this logic I want to know which class is the initiator of the Model being updating or creating.
How can I find out this?