Task #34426
How to receive the correct class name for an object?
Status:
Resolved
Priority:
Should have
Assignee:
Category:
Reflection
Target version:
Start date:
2012-02-29
Due date:
% Done:
100%
Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:
Description
Currently there is no helper method to find the correct class name of a given object. The reflection service should provide such a method.
For now I would say we only have to handle doctrine lazy loading proxies and return the parente class for them.
Can someone imagine different situations where get_class($object) does not return the correct (expected) class name from a users perspective?
Related issues
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9312
Updated by Karsten Dambekalns over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100