8000 Move required parameters to the previous section · symfony/symfony-docs@0dc2d95 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0dc2d95

Browse files
committed
Move required parameters to the previous section
1 parent db5024c commit 0dc2d95

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

session.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,14 @@ working MongoDB connection in your Symfony application as explained in the
994994
`DoctrineMongoDBBundle configuration`_ article.
995995

996996
Then, register a new handler service for ``MongoDbSessionHandler`` and pass it
997-
the MongoDB connection as argument:
997+
the MongoDB connection as argument, and the required parameters:
998+
999+
``database``:
1000+
The name of the database
1001+
1002+
``collection``:
1003+
The name of the collection
1004+
9981005

9991006
.. configuration-block::
10001007

@@ -1175,12 +1182,6 @@ configure these values with the second argument passed to the
11751182
11761183
These are parameters that you can configure:
11771184

1178-
``database``:
1179-
The name of the database
1180-
1181-
``collection``:
1182-
The name of the collection
1183-
11841185
``id_field`` (default ``_id``):
11851186
The name of the field where to store the session ID;
11861187

0 commit comments

Comments
 (0)
0