doctrine/DoctrineModule — pull request #425 by jkrasnoo (2014-07-17 04:59:50+00:00)
Title: Addition of magic function __set_state

Zend Framework 2 creates a module config cache when directed through
application.config.php. That file changes the factories section to
instantiate factories through the magic method __set_state. Not having
it causes the cache to fail because the affected classes do not have
this static method.