Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clarify possible problem

  • Loading branch information...
commit 9a6807487891fd31ed3038a65c3811ddb550dccd 1 parent ac76daf
@beberlei beberlei authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  UPGRADE_TO_2_1
View
1  UPGRADE_TO_2_1
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.