Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors
May 26, 2012
Added a method to retrieve reader from annotation driver. cf93d37
May 27, 2012
Jonathan H. Wage Merge pull request #313 from dmitrybelyakov/Feature/GetReaderFromAnno…
…tationDriver

Access reader from annotation driver.
026dd9c
10  lib/Doctrine/ODM/MongoDB/Mapping/Driver/AnnotationDriver.php
@@ -119,6 +119,16 @@ public function getPaths()
119 119
     }
120 120
 
121 121
     /**
  122
+     * Retrieve the current annotation reader
  123
+     *
  124
+     * @return AnnotationReader
  125
+     */
  126
+    public function getReader()
  127
+    {
  128
+        return $this->reader;
  129
+    }
  130
+
  131
+    /**
122 132
      * {@inheritdoc}
123 133
      */
124 134
     public function loadMetadataForClass($className, ClassMetadataInfo $class)

No commit comments for this range

Something went wrong with that request. Please try again.