Is there any way to check from where a property is being called?
Like from outside an object, from inside its children or inside himself?

I am doing some tests with the possibility of type hinting and strong typing classes like the structure proposed by jan.kneschke here, and doing so with the use of __get and __set.

But I need to know where the property is being called from, since it seems that I can't simply access that information from inside the magic methods (since I am calling an unspecified property).

I apreciate any help.