Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-ALPHA3
-
Fix Version/s: 2.0-ALPHA3
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
When I define a class in my application, without defining any namespace for it (i'm not using them for my code yet) and mark it as an entity by anotation, the generated Proxy class has following syntax error in its definition:
...
class MyEntityAProxy extends *MyEntity implements \Doctrine\ORM\Proxy\Proxy {
...
(* two backslashes here (JIRA escaped them somehow))
I've fixed it temporarily by removing backslash from the class template in ProxyFactory.php, but i could probably break something else.
I'm new to Doctrine 2 and php 5.3 features, sorry if this is a nonsense :]
Fixed