Permalink
Browse files

Clarify possible problem

  • Loading branch information...
beberlei committed Jul 8, 2011
1 parent ac76daf commit 9a6807487891fd31ed3038a65c3811ddb550dccd
Showing with 1 addition and 0 deletions.
  1. +1 −0 UPGRADE_TO_2_1
View
@@ -9,6 +9,7 @@ The EntityRepository now has an interface Doctrine\Common\Persistence\ObjectRepo
The annotation reader was heavily refactored between 2.0 and 2.1-RC1. In theory the operation of the new reader should be backwards compatible, but it has to be setup differently to work that way:
+ // new call to the AnnotationRegistry
\Doctrine\Common\Annotations\AnnotationRegistry::registerFile('/doctrine-src/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php');
$reader = new \Doctrine\Common\Annotations\AnnotationReader();

0 comments on commit 9a68074

Please sign in to comment.