doctrine/mongodb-odm — pull request #313 by dmitrybelyakov (2012-05-26 16:34:20+00:00)
Title: Access reader from annotation driver.

Here's a minor fix to provide access to annotation reader from the driver. There's a similar method in orm driver implementation but for some reason there's none in the mongo-odm.
It may come quite handy for things like gedmo doctrine extensions, where you need your reader to set up listeners.

See:

Reader access in odm driver:
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php#L107