mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-835: Documentation for Association Mapping does not indicate that class names cannot have leading backslash #1032
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 11, 2010).
Jira issue originally created by user pschwisow:
The comments for EntityManager::getClassMetadata state:
bq. The class name must be the fully-qualified class name without a leading backslash (as it is returned by get_class($obj)) or an aliased class name.
As this function is used for maintaining associations, this statement also applies to the targetEntity attribute for associations. Documentation for Association Mapping and Annotations Reference do not make it clear that Fully-Qualified Class Names cannot have leading backslashes.
@doctrinebot commented on GitHub (Oct 29, 2010):
Comment created by @beberlei:
Clarified this in the docs (i hope)
@doctrinebot commented on GitHub (Oct 29, 2010):
Issue was closed with resolution "Fixed"