Doctrine automatic hydrator strategy factory