doctrine/phpcr-odm — pull request #270 by deresh (2013-03-21 15:00:39+00:00)
Title: The ProxyFactory was redeclaring methods 

The ProxyFactory was redeclaring methods serialize and unserialize on the cache file on some OSs.

This is a direct port of fix already in ORM:
https://github.com/thiagofesta/doctrine2/commit/66d2b9e0fba22e6e6b524548ee8a9c2b6df76d08