We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5d696 commit 0e4688fCopy full SHA for 0e4688f
cookbook/doctrine/mongodb.rst
@@ -64,11 +64,12 @@ Be sure to add them anywhere *above* the ``Doctrine`` namespace (shown here)::
64
));
65
66
Register ODM Annotations::
67
- // app/autoload.php
68
-AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php');
69
+ // app/autoload.php
+ AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/DoctrineAnnotations.php');
70
Finally, enable the new bundle in the kernel::
71
72
+
73
// app/AppKernel.php
74
public function registerBundles()
75
{
0 commit comments