ZF-Commons/ZfcUser — pull request #207 by thoaionline (2012-12-27 12:57:22+00:00)
Title: make use of custom Hydrator

The default implementation of the ZfcUser\Mapper\User use AbstractDbMapper's default Hydrator, i.e. ClassMethods. If a custom User object implement an interface such as ServiceManagerAwareInterface, it will has a getServiceManager() method that cannot be converted into string by Zend\Db\Adapter\Driver\Pdo\Statement::Zend\Db\Adapter\Driver\Pdo().

I think the Mapper should allows the User object to explicitly how its data is extracted/hydrated.