[DDC-1262] Have proxies copy docblocks aswell Created: 09/Jul/11 Updated: 09/Jul/11
|Project:||Doctrine 2 - ORM|
|Affects Version/s:||2.0.6, 2.1, Git Master|
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
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.