Skip to content

Commit df57d68

Browse files
committed
Merge pull request #338
2 parents 2f8a6e5 + 453600c commit df57d68

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/reference/method/MongoDBClient__construct.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ Errors/Exceptions
3636
.. include:: /includes/extracts/error-driver-invalidargumentexception.rst
3737
.. include:: /includes/extracts/error-driver-runtimeexception.rst
3838

39+
Behavior
40+
--------
41+
42+
A :php:`MongoDB\\Driver\\Manager <mongodb-driver-manager>` is constructed
43+
internally. Per the `Server Discovery and Monitoring
44+
<https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#single-threaded-client-construction>`_
45+
specification, :php:`MongoDB\\Driver\\Manager::__construct()
46+
<mongodb-driver-manager.construct>` performs no I/O. Connections will be
47+
initialized on demand, when the first operation is executed.
48+
3949
Examples
4050
--------
4151

@@ -128,3 +138,6 @@ See Also
128138
<mongodb-driver-manager.construct>`
129139
- :manual:`Connection String URI Format </reference/connection-string>` in the
130140
MongoDB manual
141+
- `Server Discovery and Monitoring
142+
<https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#single-threaded-client-construction>`_
143+
specification

0 commit comments

Comments
 (0)