Skip to content

Commit 0e4688f

Browse files
committed
Edited cookbook/doctrine/mongodb.rst via GitHub
1 parent fb5d696 commit 0e4688f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/doctrine/mongodb.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,12 @@ Be sure to add them anywhere *above* the ``Doctrine`` namespace (shown here)::
6464
));
6565

6666
Register ODM Annotations::
67-
// app/autoload.php
68-
AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php');
6967

68+
// app/autoload.php
69+
AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php');
7070
Finally, enable the new bundle in the kernel::
7171

72+
7273
// app/AppKernel.php
7374
public function registerBundles()
7475
{

0 commit comments

Comments
 (0)