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 7705994 commit 39d2047Copy full SHA for 39d2047
guides/doctrine/mongodb-odm/overview.rst
@@ -14,13 +14,15 @@ persisted transparently without imposing on your domain model.
14
projects `documentation`_.
15
16
To get started working with Doctrine and the MongoDB Object Document Mapper you
17
-just need to enable it:
+just need to enable it and specify the bundle that contains your mapped documents:
18
19
.. code-block:: yaml
20
21
# app/config/config.yml
22
23
- doctrine_odm.mongodb: ~
+ doctrine_odm.mongodb:
24
+ mappings:
25
+ HelloBundle: ~
26
27
Now you can start writing documents and mapping them with annotations, xml, or
28
yaml. In this example we will use annotations::
0 commit comments