doctrine/phpcr-odm — pull request #202 by dantleech (2012-12-29 10:22:24+00:00)
Title: Odm native query 2

This PR is a work in progress for a new Query implementation which copies the implementation of the ORM and is a BC break.

- Supports hydration modes (PHPCR_NODE or DOCUMENT)
- **Needs to set document class** As we have no ODM query language the Query does not have knowledge about the target document, so we have to tell it which document to map to, which makes for a slightly awkard API.

e.g. ``$q->setDocumentClass('/Foo/Bar')->getSingleResult()`` or ``$q->getDocumentResult('/Foo/Bar')``

- Currently breaks a few functional tests