Doctrine 2.0 Entity Serialization
Doctrine 2.0 documentation recommends against serializing entities. If you ignore the documentation, you will be faced with PHP notices, such as Notice: Unknown: "id" returned as member variable from __sleep() but does not exist in Unknown on line …