mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1262: Have proxies copy docblocks aswell #1590
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 (Jul 9, 2011).
Originally assigned to: @Majkl578 on GitHub.
Jira issue originally created by user @beberlei:
Whenever a Proxy is generated it does not copy the docblocks.
This means when you do something like "$refl = new ReflectionObject($proxy)" you might be in trouble.
However if we add docblocks then we have to make sure that proxies do not magically appear as entities by throwing an exception in the AnnotationDriver.