add lifecycle callback handling, based on mongodb odm #8

merged 1 commit into from Apr 2, 2011


None yet

3 participants

brki commented Mar 31, 2011

This allows postLoad and family to work.


thx! i will try to play with this tomorrow. not sure if the pull that i made that was merged today removed unit tests you used for this feature, but either way it would then be necessary to re-add those tests.

@dbu dbu merged commit bb9e02c into doctrine:master Apr 2, 2011
dbu commented Apr 2, 2011

i cleaned this up and documented which event occurs when.

@brian: for our project, we probably want to use the EventManager and register some of the events, rather than annotations. otherwise we would have to repeat the annotation for each document. see the end of the updated README and the EventManagerTest for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment