File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,13 @@ Be sure to add them anywhere *above* the ``Doctrine`` namespace (shown here)::
6363 // ...
6464 ));
6565
66- Register ODM Annotations::
66+ Next, register the annotations library by adding the following to the autoloader
67+ (below the existing ``AnnotationRegistry::registerFile `` line)::
6768
6869 // app/autoload.php
69- AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php');
70+ AnnotationRegistry::registerFile(
71+ __DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php'
72+ );
7073
7174Finally, enable the new bundle in the kernel::
7275
@@ -81,8 +84,6 @@ Finally, enable the new bundle in the kernel::
8184 // ...
8285 }
8386
84-
85-
8687Congratulations! You're ready to get to work.
8788
8889Configuration
You can’t perform that action at this time.
0 commit comments