zendframework/zf2 — pull request #2276 by juhasuni (2012-08-31 07:11:05+00:00)
Title: Fix for ZF2-512

The fix is dead simple: prepare objects for serialization using magic __sleep. Only downside to this fix is that it actually loses information, as the references to plugins are lost. I think that this is acceptable, but should probably be informed in reference documentation.

One might also consider removing those Traits from ServiceManager...