doctrine/phpcr-odm — pull request #67 by lsmith77 (2011-10-12 21:02:05+00:00)
Title: Unitofwork refactoring

refactored UnitOfWork, added DocumentManager::close(), dropped DocumentManager::flushNoSave()

this also fixes some issues with events we had before. most notably we do not have duplicate prePersist calls and associations should not longer incorrectly get update events fired.

ended up being a bit larger than originally intended .. tests all pass, so i didn't want to bother to have to separate it all.

CC @dbu, @uwej711, @starkj