Instead of using ->get from the service manager use ->build and allow custom hydrators to be built by an abstract factory.
I would like to replace all my use of DoctrineObject hydrator from DoctrineModule but in order to do that I need to create individual hydrators and even these will not have the current hydrator configuration.
This simple change gives a lot of benefit and I ask that you post a new version with this asap.
Instead of using
->get
from the service manager use->build
and allow custom hydrators to be built by an abstract factory.I would like to replace all my use of DoctrineObject hydrator from DoctrineModule but in order to do that I need to create individual hydrators and even these will not have the current hydrator configuration.
This simple change gives a lot of benefit and I ask that you post a new version with this asap.