Details
-
Type:
Documentation
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.1
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:Website
Description
http://www.doctrine-project.org/docs/orm/2.0/en/reference/working-with-objects.html#entity-state
In the switch cases all the UnitOfWork constants are invalid.
Example:
UnitOfWork::NEW instead of being UnitOfWork::STATE_NEW