The following:
I have approximantely 20 models. These classes extend a base class. This base class contains a method which should be able to determine the classname of the child element. Normally you could this with:
get_called_class();
But in many cases doctrine 2 uses ProxyClasses and in that case the get_called_class() function returns something like:
Proxies\BasePageElementProxy
While the original name is \Base\PageElement. Can anybody tell me how I can find out what the name of this class is (without generating the name out of the string Proxies\BaseSectionProxy cause that is dirty and in many cases unreliable).
Thanx in advance!