Task #34426
How to receive the correct class name for an object?
Status: | Resolved | Start date: | 2012-02-29 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Andreas Förthner | % Done: | 100% |
|
Category: | Reflection | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 beta 1 | |||
Sprint: | Has patch: | No | ||
PHP Version: | 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
Associated revisions
[TASK] Add utility function to retrieve class names for objects
Resolves: #34426
Releases: 1.1
Change-Id: I768171f2f1d402be0846c7f794669ffb7d1125e2
History
#1 Updated by Gerrit Code Review over 3 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
#2 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100