doctrine/phpcr-odm — pull request #372 by dantleech (2013-10-26 07:26:15+00:00)
Title: Retrieve locales for non-persisted documents

Hacky fix to retrieve locales for not-yet-in-storage documents. There should be a cleaner way to do this.

Basically we just need to determine if this document has been loaded by the UOW - but there is no `STATE_*` constant that corresponds to this -- is there a better way to do this today?