ZF-Commons/ZfcUser — pull request #269 by tomphp (2013-03-17 11:55:40+00:00)
Title: Propose Refactor: Add getIdentity() to Entity\UserInterface and findByIdentity() to the Mapper\UserInterface

What the PR contains
----------------------------
Currently the modules works out which fields to use as the identity outside of the mapper & entity class. By moving these into the entity & mapper classes they can more easily be redefined if needed by module extending ZfcUser.

Issues
--------
Modules which currently extend/implement their own user entity and or user mapper would need to be updated should this PR be accepted.

ZfcUserDoctrineORM being one, I have included a fix here for that module too here: