doctrine/phpcr-odm — pull request #150 by stof (2012-07-06 22:33:45+00:00)
Title: Updated the classmetadata factory for changes in Common

This adds the new method introduced in doctrine/common#162

Note that this reuses the logic of the ORM (which was the logic available in Common previously) but you may need to tweak it a bit. You probably need to handle the case of embedded documents. And the isset check can probably be removed as the ODM will know how the ClassMetadata looks like.
Note that the exact implementation is not so important right now in the PHPCR ODM as the ClassMetadataFactory does not uses the ``$rootEntityFound`` argument currently so a false positive will not break things.