l3pp4rd/DoctrineExtensions — pull request #601 by evertharmeling (2013-02-07 17:46:01+00:00)
Title: Added Reference integrity

Added automatic reference integrity handling on referenced documents (ODM). It supports 'nullify' removed reference from referenced document(s) and 'restrict' which will throw an exception.

Hopefully this could be added! Let me know if there are things which could be refactored or improved.

I've also made it work in the StofDoctrineExtensionsBundle, but will create a PR once this is merged.