- &ini.php.constants;
-
-
- &ini.descriptions.title;
-
-
-
-
-
- igbinary.compact_strings
- bool
-
-
-
- Enable or disable compacting of duplicate strings.
- The default is On.
-
-
-
-
-
-
- session.save_handler
- string
-
-
-
- Igbinary is used as session handler by setting this value to igbinary.
-
-
-
-
-
-
-
-
diff --git a/reference/igbinary/reference.xml b/reference/igbinary/reference.xml
deleted file mode 100644
index 58ac4fc53..000000000
--- a/reference/igbinary/reference.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- Igbinary &Functions;
-
- &reference.igbinary.entities.functions;
-
-
-
diff --git a/reference/igbinary/versions.xml b/reference/igbinary/versions.xml
deleted file mode 100644
index 49a9cddc7..000000000
--- a/reference/igbinary/versions.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/reference/image/versions.xml b/reference/image/versions.xml
deleted file mode 100644
index 1eba1d5b5..000000000
--- a/reference/image/versions.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/imagick/versions.xml b/reference/imagick/versions.xml
deleted file mode 100644
index db4386c15..000000000
--- a/reference/imagick/versions.xml
+++ /dev/null
@@ -1,583 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/imap/versions.xml b/reference/imap/versions.xml
deleted file mode 100644
index 9bad377a0..000000000
--- a/reference/imap/versions.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/inotify/versions.xml b/reference/inotify/versions.xml
deleted file mode 100644
index 4510ced44..000000000
--- a/reference/inotify/versions.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/json/versions.xml b/reference/json/versions.xml
deleted file mode 100644
index 2fbbb86f5..000000000
--- a/reference/json/versions.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/lzf/versions.xml b/reference/lzf/versions.xml
deleted file mode 100644
index 8787e6e4b..000000000
--- a/reference/lzf/versions.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mail/versions.xml b/reference/mail/versions.xml
deleted file mode 100644
index 8b8a55139..000000000
--- a/reference/mail/versions.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/memcache/versions.xml b/reference/memcache/versions.xml
deleted file mode 100644
index 0da3c3c7c..000000000
--- a/reference/memcache/versions.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/misc/versions.xml b/reference/misc/versions.xml
deleted file mode 100644
index 35cbfbc62..000000000
--- a/reference/misc/versions.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/mongodb/bson/timestamp.xml b/reference/mongodb/bson/timestamp.xml
deleted file mode 100644
index b81eccc4b..000000000
--- a/reference/mongodb/bson/timestamp.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
- La clase MongoDB\BSON\Timestamp
- MongoDB\BSON\Timestamp
-
-
-
-
-
- &reftitle.intro;
-
- Represents a
- BSON timestamp,
- which is an internal MongoDB type not intended for general date storage.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\BSON\Timestamp
-
-
-
-
- MongoDB\BSON\Timestamp
-
-
-
- MongoDB\BSON\Type
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.bson.entities.timestamp;
-
-
-
-
diff --git a/reference/mongodb/functions/bson/fromjson.xml b/reference/mongodb/functions/bson/fromjson.xml
deleted file mode 100644
index 3c819a146..000000000
--- a/reference/mongodb/functions/bson/fromjson.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\fromJSON
- Returns the BSON representation of a JSON value
-
-
-
- &reftitle.description;
-
- stringMongoDB\BSON\fromJSON
- stringjson
-
-
- Converts an
- extended JSON
- string to its BSON representation.
-
-
-
-
- &reftitle.parameters;
-
-
- json (string)
-
-
- JSON value to be converted.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- The serialized BSON document as a binary string.
-
-
-
-
- &reftitle.errors;
-
-
- Throws
- MongoDB\Driver\Exception\UnexpectedValueException if
- the JSON value cannot be converted to BSON (e.g. due to a syntax error).
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\fromJSON example
-
-
-]]>
-
- &example.outputs;
-
-
- object(MongoDB\BSON\ObjectId)#1 (1) {
- ["oid"]=>
- string(24) "563143b280d2387c91807965"
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\toJSON
- MongoDB Extended JSON
- MongoDB BSON
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/bson/fromphp.xml b/reference/mongodb/functions/bson/fromphp.xml
deleted file mode 100644
index e3605ffc2..000000000
--- a/reference/mongodb/functions/bson/fromphp.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\fromPHP
- Returns the BSON representation of a PHP value
-
-
-
- &reftitle.description;
-
- stringMongoDB\BSON\fromPHP
- arrayobjectvalue
-
-
- Serializes a PHP array or object (e.g. document) to its
- BSON representation. The
- returned binary string will describe a BSON document.
-
-
-
-
- &reftitle.parameters;
-
-
- value (arrayobject)
-
-
- PHP value to be serialized.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- The serialized BSON document as a binary string.
-
-
-
-
- &reftitle.errors;
-
-
- Throws
- MongoDB\Driver\Exception\UnexpectedValueException if
- the PHP value cannot be converted to BSON. Possible reasons include, but are
- not limited to, encountering an unexpected
- MongoDB\BSON\Type instance or
- MongoDB\BSON\Serializable::bsonSerialize failing to
- return an array or stdClass.
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\fromPHP example
-
- 1]);
-echo bin2hex($bson), "\n";
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\toPHP
- MongoDB BSON
-
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/bson/tocanonicalextendedjson.xml b/reference/mongodb/functions/bson/tocanonicalextendedjson.xml
deleted file mode 100644
index 81d6bf6ff..000000000
--- a/reference/mongodb/functions/bson/tocanonicalextendedjson.xml
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\toCanonicalExtendedJSON
- Returns the Canonical Extended JSON representation of a BSON value
-
-
-
- &reftitle.description;
-
- stringMongoDB\BSON\toCanonicalExtendedJSON
- stringbson
-
-
- Converts a BSON string to its
- Canonical Extended JSON
- representation. The canonical format prefers type fidelity at the expense of
- concise output and is most suited for producing output that can be converted
- back to BSON without any loss of type information (e.g. numeric types will
- remain differentiated).
-
-
-
-
- &reftitle.parameters;
-
-
- bson (string)
-
-
- BSON value to be converted.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- The converted JSON value.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.bson.unexpected;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\toCanonicalExtendedJSON example
-
- null ],
- [ 'boolean' => true ],
- [ 'string' => 'foo' ],
- [ 'int32' => 123 ],
- [ 'int64' => 4294967295 ],
- [ 'double' => 1.0, ],
- [ 'nan' => NAN ],
- [ 'pos_inf' => INF ],
- [ 'neg_inf' => -INF ],
- [ 'array' => [ 'foo', 'bar' ]],
- [ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
- [ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
- [ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) ],
- [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
- [ 'timestamp' => new MongoDB\BSON\Timestamp(1234, 5678) ],
- [ 'regex' => new MongoDB\BSON\Regex('pattern', 'i') ],
- [ 'code' => new MongoDB\BSON\Javascript('function() { return 1; }') ],
- [ 'code_ws' => new MongoDB\BSON\Javascript('function() { return a; }', ['a' => 1]) ],
- [ 'minkey' => new MongoDB\BSON\MinKey ],
- [ 'maxkey' => new MongoDB\BSON\MaxKey ],
-];
-
-foreach ($documents as $document) {
- $bson = MongoDB\BSON\fromPHP($document);
- echo MongoDB\BSON\toCanonicalExtendedJSON($bson), "\n";
-}
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\fromJSON
- MongoDB\BSON\toRelaxedExtendedJSON
- Extended JSON Specification
- MongoDB BSON
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/bson/tojson.xml b/reference/mongodb/functions/bson/tojson.xml
deleted file mode 100644
index 4af3dd02e..000000000
--- a/reference/mongodb/functions/bson/tojson.xml
+++ /dev/null
@@ -1,180 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\toJSON
- Returns the Legacy Extended JSON representation of a BSON value
-
-
-
- &reftitle.description;
-
- stringMongoDB\BSON\toJSON
- stringbson
-
-
- Converts a BSON string to its
- Legacy Extended JSON
- representation.
-
-
-
- There exist several JSON formats for representing BSON. This function
- implements the "strict mode" defined in
- MongoDB Extended JSON,
- which has been superseded by the canonical and relaxed formats defined in
- the
- Extended JSON Specification
- and implemented by MongoDB\BSON\toCanonicalExtendedJSON
- and MongoDB\BSON\toRelaxedExtendedJSON, respectively.
-
-
-
-
- JSON does not support
- NAN and
- INF and
- MongoDB's Legacy Extended JSON format does not define an alternative
- representation for these values
- (libbson will output
- nan and inf literals, which may not be
- parsed as valid JSON). If you are working with BSON that may contain
- non-finite numbers, please use
- MongoDB\BSON\toCanonicalExtendedJSON or
- MongoDB\BSON\toRelaxedExtendedJSON.
-
-
-
-
-
- &reftitle.parameters;
-
-
- bson (string)
-
-
- BSON value to be converted.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- The converted JSON value.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.bson.unexpected;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\toJSON example
-
- null ],
- [ 'boolean' => true ],
- [ 'string' => 'foo' ],
- [ 'int32' => 123 ],
- [ 'int64' => 4294967295 ],
- [ 'double' => 1.0, ],
- [ 'nan' => NAN ],
- [ 'pos_inf' => INF ],
- [ 'neg_inf' => -INF ],
- [ 'array' => [ 'foo', 'bar' ]],
- [ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
- [ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
- [ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) ],
- [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
- [ 'timestamp' => new MongoDB\BSON\Timestamp(1234, 5678) ],
- [ 'regex' => new MongoDB\BSON\Regex('pattern', 'i') ],
- [ 'code' => new MongoDB\BSON\Javascript('function() { return 1; }') ],
- [ 'code_ws' => new MongoDB\BSON\Javascript('function() { return a; }', ['a' => 1]) ],
- [ 'minkey' => new MongoDB\BSON\MinKey ],
- [ 'maxkey' => new MongoDB\BSON\MaxKey ],
-];
-
-foreach ($documents as $document) {
- $bson = MongoDB\BSON\fromPHP($document);
- echo MongoDB\BSON\toJSON($bson), "\n";
-}
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\fromJSON
- MongoDB\BSON\toCanonicalExtendedJSON
- MongoDB\BSON\toRelaxedExtendedJSON
- MongoDB Extended JSON
- MongoDB BSON
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/bson/tophp.xml b/reference/mongodb/functions/bson/tophp.xml
deleted file mode 100644
index b75d878d1..000000000
--- a/reference/mongodb/functions/bson/tophp.xml
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\toPHP
- Returns the PHP representation of a BSON value
-
-
-
- &reftitle.description;
-
- arrayobjectMongoDB\BSON\toPHP
- stringbson
- arraytypeMaparray()
-
-
- Unserializes a BSON document (i.e. binary string) to its PHP representation.
- The typeMap paramater may be used to control the PHP
- types used for converting BSON arrays and documents (both root and embedded).
-
- &mongodb.warning.duplicate-keys;
-
-
-
- &reftitle.parameters;
-
-
- bson (string)
-
-
- BSON value to be unserialized.
-
-
-
- &mongodb.parameter.typeMap;
-
-
-
-
- &reftitle.returnvalues;
-
- The unserialized PHP value.
-
-
-
-
- &reftitle.errors;
-
-
- Throws
- MongoDB\Driver\Exception\InvalidArgumentException if
- a class in the type map cannot be instantiated or does not implement
- MongoDB\BSON\Unserializable.
-
- &mongodb.throws.bson.unexpected;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.0
-
-
- If the input contains an unsupported, deprecated BSON type, the
- driver will now no longer log a warning to the debug log, but instead
- will create an object representing this type.
-
-
-
-
- PECL mongodb 1.3.2
-
-
- MongoDB\Driver\Exception\UnexpectedValueException
- is no longer thrown if the input contains an unsupported, deprecated
- BSON type. Such types will be ignored (as they were in versions before
- 1.3.0), although the driver will now log a warning to the debug log
- (see: mongodb.debug).
-
-
-
-
- PECL mongodb 1.3.0
-
-
- MongoDB\Driver\Exception\UnexpectedValueException
- is thrown if the input contains an unsupported, deprecated BSON type.
- Previously, such types were ignored.
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\toPHP example
-
-
-]]>
-
- &example.outputs;
-
-
- int(1)
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\fromPHP
- MongoDB BSON
-
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/bson/torelaxedextendedjson.xml b/reference/mongodb/functions/bson/torelaxedextendedjson.xml
deleted file mode 100644
index 13b7488b0..000000000
--- a/reference/mongodb/functions/bson/torelaxedextendedjson.xml
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
- MongoDB\BSON\toRelaxedExtendedJSON
- Returns the Relaxed Extended JSON representation of a BSON value
-
-
-
- &reftitle.description;
-
- stringMongoDB\BSON\toRelaxedExtendedJSON
- stringbson
-
-
- Converts a BSON string to its
- Relaxed Extended JSON
- representation. The relaxed format prefers use of JSON type primitives at the
- expense of type fidelity and is most suited for producing output that can be
- easily consumed by web APIs and humans.
-
-
-
-
- &reftitle.parameters;
-
-
- bson (string)
-
-
- BSON value to be converted.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- The converted JSON value.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.bson.unexpected;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\BSON\toRelaxedExtendedJSON example
-
- null ],
- [ 'boolean' => true ],
- [ 'string' => 'foo' ],
- [ 'int32' => 123 ],
- [ 'int64' => 4294967295 ],
- [ 'double' => 1.0, ],
- [ 'nan' => NAN ],
- [ 'pos_inf' => INF ],
- [ 'neg_inf' => -INF ],
- [ 'array' => [ 'foo', 'bar' ]],
- [ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
- [ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
- [ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) ],
- [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
- [ 'timestamp' => new MongoDB\BSON\Timestamp(1234, 5678) ],
- [ 'regex' => new MongoDB\BSON\Regex('pattern', 'i') ],
- [ 'code' => new MongoDB\BSON\Javascript('function() { return 1; }') ],
- [ 'code_ws' => new MongoDB\BSON\Javascript('function() { return a; }', ['a' => 1]) ],
- [ 'minkey' => new MongoDB\BSON\MinKey ],
- [ 'maxkey' => new MongoDB\BSON\MaxKey ],
-];
-
-foreach ($documents as $document) {
- $bson = MongoDB\BSON\fromPHP($document);
- echo MongoDB\BSON\toRelaxedExtendedJSON($bson), "\n";
-}
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\fromJSON
- MongoDB\BSON\toCanonicalExtendedJSON
- Extended JSON
- MongoDB BSON
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/driver/entities.monitoring.xml b/reference/mongodb/functions/driver/entities.monitoring.xml
deleted file mode 100644
index b43f115c6..000000000
--- a/reference/mongodb/functions/driver/entities.monitoring.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-&reference.mongodb.functions.driver.monitoring.addsubscriber;
-&reference.mongodb.functions.driver.monitoring.removesubscriber;
diff --git a/reference/mongodb/functions/driver/monitoring/addsubscriber.xml b/reference/mongodb/functions/driver/monitoring/addsubscriber.xml
deleted file mode 100644
index 242e3ca3a..000000000
--- a/reference/mongodb/functions/driver/monitoring/addsubscriber.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\addSubscriber
- Registers a monitoring event subscriber globally
-
-
-
- &reftitle.description;
-
- voidMongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Monitoring\Subscribersubscriber
-
-
- Registers a monitoring event subscriber globally. The subscriber will be
- notified of all events in the driver for any Manager.
-
-
-
- If subscriber is already registered globally, this
- function is a no-op. If subscriber is also registered
- with one or more Managers, it will still only be notified once of each event
- for each Manager.
-
-
-
-
-
- &reftitle.parameters;
-
-
- subscriber (MongoDB\Driver\Monitoring\Subscriber)
-
-
- A monitoring event subscriber to register globally.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\removeSubscriber
- MongoDB\Driver\Monitoring\Subscriber
- MongoDB\Driver\Monitoring\CommandSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/driver/monitoring/removesubscriber.xml b/reference/mongodb/functions/driver/monitoring/removesubscriber.xml
deleted file mode 100644
index a26c8b07e..000000000
--- a/reference/mongodb/functions/driver/monitoring/removesubscriber.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\removeSubscriber
- Unregisters a monitoring event subscriber globally
-
-
-
- &reftitle.description;
-
- voidMongoDB\Driver\Monitoring\removeSubscriber
- MongoDB\Driver\Monitoring\Subscribersubscriber
-
-
- Unregisters a monitoring event subscriber globally.
-
-
-
- If subscriber is not already registered globally,
- this function is a no-op.
-
-
-
-
-
- &reftitle.parameters;
-
-
- subscriber (MongoDB\Driver\Monitoring\Subscriber)
-
-
- A monitoring event subscriber to unregister globally.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Monitoring\Subscriber
- MongoDB\Driver\Monitoring\CommandSubscriber
- MongoDB\Driver\Manager::removeSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/functions/entities.bson.xml b/reference/mongodb/functions/entities.bson.xml
deleted file mode 100644
index 4ea8911b2..000000000
--- a/reference/mongodb/functions/entities.bson.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-&reference.mongodb.functions.bson.fromjson;
-&reference.mongodb.functions.bson.fromphp;
-&reference.mongodb.functions.bson.tocanonicalextendedjson;
-&reference.mongodb.functions.bson.tojson;
-&reference.mongodb.functions.bson.tophp;
-&reference.mongodb.functions.bson.torelaxedextendedjson;
diff --git a/reference/mongodb/functions/entities.driver.xml b/reference/mongodb/functions/entities.driver.xml
deleted file mode 100644
index 5f0e9b586..000000000
--- a/reference/mongodb/functions/entities.driver.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.functions.driver.entities.monitoring;
diff --git a/reference/mongodb/images/driver_arch.png b/reference/mongodb/images/driver_arch.png
deleted file mode 100644
index 74064bf78..000000000
Binary files a/reference/mongodb/images/driver_arch.png and /dev/null differ
diff --git a/reference/mongodb/mongodb/driver/bulkwrite.xml b/reference/mongodb/mongodb/driver/bulkwrite.xml
deleted file mode 100644
index 5d4ab3708..000000000
--- a/reference/mongodb/mongodb/driver/bulkwrite.xml
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\BulkWrite class
- MongoDB\Driver\BulkWrite
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\BulkWrite collects one or more
- write operations that should be sent to the server. After adding any
- number of insert, update, and delete operations, the collection may be
- executed via
- MongoDB\Driver\Manager::executeBulkWrite.
-
-
- Write operations may either be ordered (default) or unordered. Ordered write
- operations are sent to the server, in the order provided, for serial
- execution. If a write fails, any remaining operations will be aborted.
- Unordered operations are sent to the server in an arbitrary order
- where they may be executed in parallel. Any errors that occur are reported
- after all operations have been attempted.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\BulkWrite
-
-
-
- final
-
- MongoDB\Driver\BulkWrite
-
-
-
- Countable
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
- &reftitle.examples;
-
-
- Mixed write operations are grouped by type
-
- Mixed write operations (i.e. inserts, updates, and deletes) will be
- assembled into typed write commands to be sent sequentially to the server.
-
-
- true]);
-$bulk->insert(['_id' => 1, 'x' => 1]);
-$bulk->insert(['_id' => 2, 'x' => 2]);
-$bulk->update(['x' => 2], ['$set' => ['x' => 1]]);
-$bulk->insert(['_id' => 3, 'x' => 3]);
-$bulk->delete(['x' => 1]);
-
-?>
-]]>
-
-
- Will result in four write commands (i.e. roundtrips) being executed. Since
- the operations are ordered, the third insertion cannot be sent until the
- preceding update is executed.
-
-
-
- Ordered write operations causing an error
-
- true]);
-$bulk->delete([]);
-$bulk->insert(['_id' => 1]);
-$bulk->insert(['_id' => 2]);
-$bulk->insert(['_id' => 3, 'hello' => 'world']);
-$bulk->update(['_id' => 3], ['$set' => ['hello' => 'earth']]);
-$bulk->insert(['_id' => 4, 'hello' => 'pluto']);
-$bulk->update(['_id' => 4], ['$set' => ['hello' => 'moon']]);
-$bulk->insert(['_id' => 3]);
-$bulk->insert(['_id' => 4]);
-$bulk->insert(['_id' => 5]);
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017');
-$writeConcern = new MongoDB\Driver\WriteConcern(MongoDB\Driver\WriteConcern::MAJORITY, 1000);
-
-try {
- $result = $manager->executeBulkWrite('db.collection', $bulk, $writeConcern);
-} catch (MongoDB\Driver\Exception\BulkWriteException $e) {
- $result = $e->getWriteResult();
-
- // Check if the write concern could not be fulfilled
- if ($writeConcernError = $result->getWriteConcernError()) {
- printf("%s (%d): %s\n",
- $writeConcernError->getMessage(),
- $writeConcernError->getCode(),
- var_export($writeConcernError->getInfo(), true)
- );
- }
-
- // Check if any write operations did not complete at all
- foreach ($result->getWriteErrors() as $writeError) {
- printf("Operation#%d: %s (%d)\n",
- $writeError->getIndex(),
- $writeError->getMessage(),
- $writeError->getCode()
- );
- }
-} catch (MongoDB\Driver\Exception\Exception $e) {
- printf("Other error: %s\n", $e->getMessage());
- exit;
-}
-
-printf("Inserted %d document(s)\n", $result->getInsertedCount());
-printf("Updated %d document(s)\n", $result->getModifiedCount());
-
-?>
-]]>
-
-
- &example.outputs;
-
-
-
-
- If the write concern could not be fullfilled, the example above would output
- something like:
-
-
- true,
-)
-Operation#7: E11000 duplicate key error index: databaseName.collectionName.$_id_ dup key: { : 3 } (11000)
-Inserted 4 document(s)
-Updated 2 document(s)
-]]>
-
-
- If we execute the example above, but allow for unordered writes:
-
-
- false]);
-/* ... */
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeBulkWrite
- MongoDB\Driver\WriteResult
- MongoDB\Driver\WriteConcern
- MongoDB\Driver\WriteConcernError
- MongoDB\Driver\WriteError
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.bulkwrite;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/bulkwrite/construct.xml b/reference/mongodb/mongodb/driver/bulkwrite/construct.xml
deleted file mode 100644
index a6b866382..000000000
--- a/reference/mongodb/mongodb/driver/bulkwrite/construct.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\BulkWrite::__construct
- Create a new BulkWrite
-
-
-
- &reftitle.description;
-
- publicMongoDB\Driver\BulkWrite::__construct
- arrayoptions
-
-
- Constructs a new MongoDB\Driver\BulkWrite, which is a
- mutable object to which one or more write operations may be added. The
- write(s) may then be executed with
- MongoDB\Driver\Manager::executeBulkWrite.
-
-
-
-
- &reftitle.parameters;
-
-
- options (array)
-
-
-
- options
-
-
-
- Option
- Type
- Description
- Default
-
-
-
-
- bypassDocumentValidation
- bool
-
-
- If &true;, allows insert and update operations to circumvent
- document level validation.
-
-
- This option is available in MongoDB 3.2+ and is ignored for older
- server versions, which do not support document level validation.
-
-
- &false;
-
-
- ordered
- bool
-
- Ordered operations (&true;) are executed serially on the MongoDB
- server, while unordered operations (&false;) are sent to the server
- in an arbitrary order and may be executed in parallel.
-
- &true;
-
-
-
-
- deleteOptions
-
-
-
- Option
- Type
- Description
- Default
-
-
-
- &mongodb.option.collation;
-
- hint
- stringarrayobject
-
-
- Index specification. Specify either the index name as a string or
- the index key pattern. If specified, then the query system will only
- consider plans using the hinted index.
-
-
- This option is available in MongoDB 4.4+ and will result in an
- exception at execution time if specified for an older server
- version.
-
-
-
-
- limit
- bool
- Delete all matching documents (&false;), or only the first matching document (&true;)
- &false;
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.8.0
-
- Added the "hint" option.
-
-
-
- PECL mongodb 1.2.0
-
- Added the "collation" option.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\BulkWrite::delete example
-
-delete(['x' => 1], ['limit' => 1]);
-$bulk->delete(['x' => 2], ['limit' => 0]);
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017');
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-?>
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeBulkWrite
- MongoDB\Driver\WriteResult
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/bulkwrite/insert.xml b/reference/mongodb/mongodb/driver/bulkwrite/insert.xml
deleted file mode 100644
index 64b8bba33..000000000
--- a/reference/mongodb/mongodb/driver/bulkwrite/insert.xml
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\BulkWrite::insert
- Add an insert operation to the bulk
-
-
-
- &reftitle.description;
-
- publicmixedMongoDB\Driver\BulkWrite::insert
- arrayobjectdocument
-
-
- Adds an insert operation to the
- MongoDB\Driver\BulkWrite.
-
-
-
-
-
- &reftitle.parameters;
-
-
- document (arrayobject)
-
-
- A document to insert.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns the _id of the inserted document. If the
- document did not have an _id, the
- MongoDB\BSON\ObjectId generated for the insert will
- be returned.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.3.0
-
- The _id of the inserted document is always returned.
- Previously, the method only returned a value if a
- MongoDB\BSON\ObjectId was generated.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\BulkWrite::insert example
-
- 'one'];
-$document2 = ['_id' => 'custom ID', 'title' => 'two'];
-$document3 = ['_id' => new MongoDB\BSON\ObjectId, 'title' => 'three'];
-
-$_id1 = $bulk->insert($document1);
-$_id2 = $bulk->insert($document2);
-$_id3 = $bulk->insert($document3);
-
-var_dump($_id1, $_id2, $_id3);
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017');
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(24) "54d51146bd21b91405401d92"
-}
-NULL
-NULL
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeBulkWrite
- MongoDB\Driver\WriteResult
- MongoDB\BSON\ObjectId
- MongoDB\BSON\Persistable
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/bulkwrite/update.xml b/reference/mongodb/mongodb/driver/bulkwrite/update.xml
deleted file mode 100644
index 3ad23cead..000000000
--- a/reference/mongodb/mongodb/driver/bulkwrite/update.xml
+++ /dev/null
@@ -1,242 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\BulkWrite::update
- Add an update operation to the bulk
-
-
-
- &reftitle.description;
-
- publicvoidMongoDB\Driver\BulkWrite::update
- arrayobjectfilter
- arrayobjectnewObj
- arrayupdateOptions
-
-
- Adds an update operation to the
- MongoDB\Driver\BulkWrite.
-
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.filter;
-
- newObj (arrayobject)
-
-
- A document containing either update operators (e.g.
- $set), a replacement document (i.e.
- onlyfield:value expressions), or
- an aggregation pipeline.
-
-
-
-
- updateOptions
-
-
-
- updateOptions
-
-
-
- Option
- Type
- Description
- Default
-
-
-
-
- arrayFilters
- array
-
-
- An array of filter documents that determines which array elements to
- modify for an update operation on an array field. See
- Specify arrayFilters for Array Update Operations
- in the MongoDB manual for more information.
-
-
- This option is available in MongoDB 3.6+ and will result in an
- exception at execution time if specified for an older server
- version.
-
-
-
- &mongodb.option.collation;
-
- hint
- stringarrayobject
-
-
- Index specification. Specify either the index name as a string or
- the index key pattern. If specified, then the query system will only
- consider plans using the hinted index.
-
-
- This option is available in MongoDB 4.2+ and will result in an
- exception at execution time if specified for an older server
- version.
-
-
-
-
- multi
- bool
-
- Update only the first matching document if &false;, or all
- matching documents &true;. This option cannot be &true; if
- newObj is a replacement document.
-
- &false;
-
-
- upsert
- bool
-
- If filter does not match an existing document,
- insert a single document. The document will be
- created from newObj if it is a replacement
- document (i.e. no update operators); otherwise, the operators in
- newObj will be applied to
- filter to create the new document.
-
- &false;
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.7.0
-
- Added the "hint" option.
-
-
-
- PECL mongodb 1.6.0
-
- The newObj parameter now accepts an aggregation
- pipeline. This feature requires MongoDB 4.2+ and will result in an
- exception at execution time if specified for an older server version.
-
-
-
- PECL mongodb 1.5.0
-
- Using the "arrayFilters" option will result in an
- exception at execution time if unsupported by the server. Previously,
- no exception would be thrown and the option may have been ignored.
-
-
-
- PECL mongodb 1.4.0
-
- Added the "arrayFilters" option.
-
-
-
- PECL mongodb 1.2.0
-
- Added the "collation" option.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\BulkWrite::update example
-
-update(
- ['x' => 2],
- ['$set' => ['y' => 3]],
- ['multi' => false, 'upsert' => false]
-);
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017');
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-?>
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeBulkWrite
- MongoDB\Driver\WriteResult
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/clientencryption.xml b/reference/mongodb/mongodb/driver/clientencryption.xml
deleted file mode 100644
index 8039cb138..000000000
--- a/reference/mongodb/mongodb/driver/clientencryption.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\ClientEncryption class
- MongoDB\Driver\ClientEncryption
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\ClientEncryption class handles
- creation of data keys for client-side encryption, as well as manually
- encrypting and decrypting values.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\ClientEncryption
-
-
-
- final
-
- MongoDB\Driver\ClientEncryption
-
-
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC
- AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic
-
-
- const
- string
- MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM
- AEAD_AES_256_CBC_HMAC_SHA_512-Random
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC
-
- Uses randomized encryption.
-
-
-
-
- MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM
-
- Uses deterministic (queryable) encryption.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::createClientEncryption
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.clientencryption;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/clientencryption/createdatakey.xml b/reference/mongodb/mongodb/driver/clientencryption/createdatakey.xml
deleted file mode 100644
index f36af3d1c..000000000
--- a/reference/mongodb/mongodb/driver/clientencryption/createdatakey.xml
+++ /dev/null
@@ -1,260 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ClientEncryption::createDataKey
- Create a new encryption data key
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\BinaryMongoDB\Driver\ClientEncryption::createDataKey
- stringkmsProvider
- arrayoptions
-
-
- Creates a new key document and inserts it into the key vault collection.
-
-
-
-
- &reftitle.parameters;
-
-
- kmsProvider
-
-
- The KMS provider (e.g. "local",
- "aws", "azure",
- "gcp") that will be used to encrypt the new encryption
- key.
-
-
-
-
-
- options
-
-
-
- Data key options
-
-
-
- Option
- Type
- Description
-
-
-
-
- masterKey
- array
-
-
- The masterKey identifies a KMS-specific key used to encrypt the new
- data key. This option is required unless
- kmsProvider is "local".
-
-
- If kmsProvider is "aws",
- this option is required and has the following fields:
-
- AWS masterKey options
-
-
-
- Option
- Type
- Description
-
-
-
-
- region
- string
- Required.
-
-
- key
- string
- Required. The Amazon Resource Name (ARN) to the AWS customer master key (CMK).
-
-
- endpoint
- string
- Optional. An alternate host identifier to send KMS requests to. May include port number.
-
-
-
-
-
-
- If kmsProvider is "azure",
- this option is required and has the following fields:
-
- Azure masterKey options
-
-
-
- Option
- Type
- Description
-
-
-
-
- keyVaultEndpoint
- string
- Required. Host with optional port (e.g. "example.vault.azure.net").
-
-
- keyName
- string
- Required.
-
-
- keyVersion
- string
- Optional. A specific version of the named key. Defaults to using the key's primary version.
-
-
-
-
-
-
- If kmsProvider is "gcp",
- this option is required and has the following fields:
-
- GCP masterKey options
-
-
-
- Option
- Type
- Description
-
-
-
-
- projectId
- string
- Required.
-
-
- location
- string
- Required.
-
-
- keyRing
- string
- Required.
-
-
- keyName
- string
- Required.
-
-
- keyVersion
- string
- Optional. A specific version of the named key. Defaults to using the key's primary version.
-
-
- endpoint
- string
- Optional. Host with optional port. Defaults to "cloudkms.googleapis.com".
-
-
-
-
-
-
-
-
- keyAltNames
- array
-
-
- An optional list of string alternate names used to reference a key.
- If a key is created with alternate names, then encryption may refer
- to the key by the unique alternate name instead of by
- _id.
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns the identifier of the new key as a
- MongoDB\BSON\Binary object with subtype 4 (UUID).
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\EncryptionException if an error occurs while creating the data key
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.10.0
-
- Azure and GCP are now supported as KMS providers for client-side
- encryption.
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/clientencryption/decrypt.xml b/reference/mongodb/mongodb/driver/clientencryption/decrypt.xml
deleted file mode 100644
index 26344ef0f..000000000
--- a/reference/mongodb/mongodb/driver/clientencryption/decrypt.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ClientEncryption::decrypt
- Decrypt a value
-
-
-
- &reftitle.description;
-
- finalpublicmixedMongoDB\Driver\ClientEncryption::decrypt
- MongoDB\BSON\Binaryvalue
-
-
- Decrypts the value.
-
-
-
-
- &reftitle.parameters;
-
-
- value
-
-
- A MongoDB\BSON\Binary instance with subtype 6
- containing the encrypted value.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns the decrypted value as it was passed to
- MongoDB\Driver\ClientEncryption::encrypt.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\EncryptionException if an error occurs while decrypting the value
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ClientEncryption::encrypt
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/clientencryption/encrypt.xml b/reference/mongodb/mongodb/driver/clientencryption/encrypt.xml
deleted file mode 100644
index aec4ab43b..000000000
--- a/reference/mongodb/mongodb/driver/clientencryption/encrypt.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ClientEncryption::encrypt
- Encrypt a value
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\BinaryMongoDB\Driver\ClientEncryption::encrypt
- mixedvalue
- arrayoptions
-
-
- Encrypts the value.
-
-
-
-
- &reftitle.parameters;
-
-
- value
-
-
- The value to be encrypted. Any value that can be inserted into MongoDB can
- be encrypted using this method.
-
-
-
-
-
- options
-
-
-
- Encryption options
-
-
-
- Option
- Type
- Description
-
-
-
-
- algorithm
- string
-
-
- The encryption algorithm to be used. Use the constants defined in
- MongoDB\Driver\ClientEncryption.
-
-
-
-
- keyAltName
- string
-
-
- Identifies a key vault collection document by
- keyAltName.
-
-
-
-
- keyId
- MongoDB\BSON\Binary
-
-
- Identifies a data key by _id. The value is a UUID
- (binary subtype 4).
-
-
-
-
-
-
-
-
-
- Exactly one of keyId and keyAltName
- must be provided. The algorithm option is required.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns the encrypted value as
- MongoDB\BSON\Binary object with subtype 6.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\EncryptionException if an error occurs while encrypting the value
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ClientEncryption::decrypt
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/command.xml b/reference/mongodb/mongodb/driver/command.xml
deleted file mode 100644
index 723ca2778..000000000
--- a/reference/mongodb/mongodb/driver/command.xml
+++ /dev/null
@@ -1,196 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Command class
- MongoDB\Driver\Command
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Command class is a value object
- that represents a database command.
-
-
- To provide Command Helpers the MongoDB\Driver\Command object should be composed.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Command
-
-
-
- final
-
- MongoDB\Driver\Command
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
- &reftitle.examples;
-
-
- Composing MongoDB\Driver\Command to provide a helper to create collections
-
-cmd["create"] = (string)$collectionName;
- }
- function setCappedCollection($maxBytes, $maxDocuments = false) {
- $this->cmd["capped"] = true;
- $this->cmd["size"] = (int)$maxBytes;
-
- if ($maxDocuments) {
- $this->cmd["max"] = (int)$maxDocuments;
- }
- }
- function usePowerOf2Sizes($bool) {
- if ($bool) {
- $this->cmd["flags"] = 1;
- } else {
- $this->cmd["flags"] = 0;
- }
- }
- function setFlags($flags) {
- $this->cmd["flags"] = (int)$flags;
- }
- function getCommand() {
- return new MongoDB\Driver\Command($this->cmd);
- }
- function getCollectionName() {
- return $this->cmd["create"];
- }
-}
-
-
-$manager = new MongoDB\Driver\Manager("mongodb://localhost:27017");
-
-$createCollection = new CreateCollection("cappedCollection");
-$createCollection->setCappedCollection(64 * 1024);
-
-try {
- $command = $createCollection->getCommand();
- $cursor = $manager->executeCommand("databaseName", $command);
- $response = $cursor->toArray()[0];
- var_dump($response);
-
- $collstats = ["collstats" => $createCollection->getCollectionName()];
- $cursor = $manager->executeCommand("databaseName", new MongoDB\Driver\Command($collstats));
- $response = $cursor->toArray()[0];
- var_dump($response);
-} catch(MongoDB\Driver\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-
-?>
-]]>
-
-
- &example.outputs;
-
-
- array(3) {
- ["create"]=>
- string(16) "cappedCollection"
- ["capped"]=>
- bool(true)
- ["size"]=>
- int(65536)
- }
-}
-array(1) {
- ["ok"]=>
- float(1)
-}
-array(16) {
- ["ns"]=>
- string(29) "databaseName.cappedCollection"
- ["count"]=>
- int(0)
- ["size"]=>
- int(0)
- ["numExtents"]=>
- int(1)
- ["storageSize"]=>
- int(65536)
- ["nindexes"]=>
- int(1)
- ["lastExtentSize"]=>
- float(65536)
- ["paddingFactor"]=>
- float(1)
- ["paddingFactorNote"]=>
- string(101) "paddingFactor is unused and unmaintained in 2.8. It remains hard coded to 1.0 for compatibility only."
- ["userFlags"]=>
- int(0)
- ["capped"]=>
- bool(true)
- ["max"]=>
- int(9223372036854775807)
- ["maxSize"]=>
- int(65536)
- ["totalIndexSize"]=>
- int(8176)
- ["indexSizes"]=>
- object(stdClass)#4 (1) {
- ["_id_"]=>
- int(8176)
- }
- ["ok"]=>
- float(1)
-}
-]]>
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.command;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/command/construct.xml b/reference/mongodb/mongodb/driver/command/construct.xml
deleted file mode 100644
index d2436ca13..000000000
--- a/reference/mongodb/mongodb/driver/command/construct.xml
+++ /dev/null
@@ -1,262 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Command::__construct
- Create a new Command
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\Command::__construct
- arrayobjectdocument
- arraycommandOptions
-
-
- Constructs a new MongoDB\Driver\Command, which is an
- immutable value object that represents a database command. The command may
- then be executed with
- MongoDB\Driver\Manager::executeCommand.
-
-
- The complete command document, which includes the command name and its
- options, should be expressed in the document
- parameter. The commandOptions parameter is only used
- to specify options related to the execution of the command and the resulting
- MongoDB\Driver\Cursor.
-
-
-
-
- &reftitle.parameters;
-
-
- document
-
-
- The complete command document, which will be sent to the server.
-
-
-
-
-
- commandOptions
-
-
-
- Do not use this parameter to specify options described in the command's
- reference in the MongoDB manual. This parameter should only be used for
- the options explicitly listed below.
-
-
-
-
- commandOptions
-
-
-
- Option
- Type
- Description
-
-
-
-
- maxAwaitTimeMS
- int
-
-
- Positive integer denoting the time limit in milliseconds for the
- server to block a getMore operation if no data is available. This
- option should only be used in conjunction with commands that return
- a tailable cursor (e.g. Change
- Streams).
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.0
-
-
- Added a second commandOptions argument, which supports
- the "maxAwaitTimeMS" option.
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Command::__construct example
-
- 1));
-
-try {
- $cursor = $manager->executeCommand("admin", $command);
- $response = $cursor->toArray()[0];
-} catch(MongoDB\Driver\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-var_dump($response);
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(14) "2.8.0-rc2-pre-"
- ["gitVersion"]=>
- string(62) "b743d7158f7642f4da6b7eac8320374b3b88dc2e modules: subscription"
- ["OpenSSLVersion"]=>
- string(25) "OpenSSL 1.0.1f 6 Jan 2014"
- ["sysInfo"]=>
- string(104) "Linux infant 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49"
- ["loaderFlags"]=>
- string(91) "-fPIC -pthread -Wl,-z,now -rdynamic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,-E"
- ["compilerFlags"]=>
- string(301) "-Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -fno-builtin-memcmp -std=c99"
- ["allocator"]=>
- string(8) "tcmalloc"
- ["versionArray"]=>
- array(4) {
- [0]=>
- int(2)
- [1]=>
- int(8)
- [2]=>
- int(0)
- [3]=>
- int(-8)
- }
- ["javascriptEngine"]=>
- string(2) "V8"
- ["bits"]=>
- int(64)
- ["debug"]=>
- bool(false)
- ["maxBsonObjectSize"]=>
- int(16777216)
- ["ok"]=>
- float(1)
-}
-
-]]>
-
-
-
-
- MongoDB\Driver\Command::__construct example
-
- Commands can accept options as well, as part of the normal structure that
- you create to send to the server. For example, the
- maxTimeMS option can be passed with most commands to
- restrict the amount of time a specific command can run for on the server.
-
-
- "beer",
- "key" => "beer_name",
- "maxTimeMS" => 10,
- )
-);
-
-try {
- $cursor = $manager->executeCommand("beerdb", $command);
- $response = $cursor->toArray()[0];
-} catch(MongoDB\Driver\Exception\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-var_dump($response);
-
-?>
-]]>
-
- &example.outputs.similar;
-
- operation exceeded time limit
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeCommand
- MongoDB\Driver\Cursor
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor.xml b/reference/mongodb/mongodb/driver/cursor.xml
deleted file mode 100644
index 4b33bf55f..000000000
--- a/reference/mongodb/mongodb/driver/cursor.xml
+++ /dev/null
@@ -1,318 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Cursor class
- MongoDB\Driver\Cursor
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Cursor class encapsulates
- the results of a MongoDB command or query and may be returned by
- MongoDB\Driver\Manager::executeCommand or
- MongoDB\Driver\Manager::executeQuery, respectively.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Cursor
-
-
-
- final
-
- MongoDB\Driver\Cursor
-
-
-
- MongoDB\Driver\CursorInterface
-
-
-
- Iterator
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.9.0
-
- Implements Iterator.
-
-
-
- PECL mongodb 1.6.0
-
- Implements MongoDB\Driver\CursorInterface,
- which extends Traversable.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
-
- Reading a result set
-
- MongoDB\Driver\Manager::executeCommand and
- MongoDB\Driver\Manager::executeQuery both return
- their result(s) as a MongoDB\Driver\Cursor object.
- This object can be used to iterate over the result set of the command or
- query.
-
-
- Because MongoDB\Driver\Cursor implements the
- Traversable interface, you can simply
- iterate over the result set with
- foreach.
-
-
-insert(['name' => 'Ceres', 'size' => 946, 'distance' => 2.766]);
-$bulkWrite->insert(['name' => 'Vesta', 'size' => 525, 'distance' => 2.362]);
-$manager->executeBulkWrite("test.asteroids", $bulkWrite);
-
-/* Query for all the items in the collection */
-$query = new MongoDB\Driver\Query( [] );
-
-/* Query the "asteroids" collection of the "test" database */
-$cursor = $manager->executeQuery("test.asteroids", $query);
-
-/* $cursor now contains an object that wraps around the result set. Use
- * foreach() to iterate over all the result */
-foreach($cursor as $document) {
- print_r($document);
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
- MongoDB\BSON\ObjectId Object
- (
- [oid] => 5a4cff2f122d3321565d8cc2
- )
-
- [name] => Ceres
- [size] => 946
- [distance] => 2.766
-)
-stdClass Object
-(
- [_id] => MongoDB\BSON\ObjectId Object
- (
- [oid] => 5a4cff2f122d3321565d8cc3
- )
-
- [name] => Vesta
- [size] => 525
- [distance] => 2.362
-}
-]]>
-
-
-
-
- Reading a result set for a tailable cursor
-
- Tailable cursors
- are a special type of MongoDB cursor that allows the client to read some
- results and then wait until more documents become available. These cursors
- are primarily used with
- Capped Collections
- and Change Streams.
-
-
- While normal cursors can be iterated once with foreach,
- that approach will not work with tailable cursors. When
- foreach is used with a tailable cursor, the loop will
- stop upon reaching the end of the initial result set. Attempting to
- continue iteration on the cursor with a second
- foreach would throw an exception, since PHP attempts to
- rewind the cursor. Similar to result objects in other database drivers,
- cursors in MongoDB only support forward iteration, which means they cannot
- be rewound.
-
-
- In order to continuously read from a tailable cursor, the Cursor object
- must be wrapped with an IteratorIterator. This
- allows the application to directly control the cursor's iteration, avoid
- inadvertently rewinding the cursor, and decide when to wait for new results
- or stop iteration entirely.
-
-
- In order to demonstrate a tailable cursor in action, two scripts will be
- used: a "producer" and a "consumer". The producer script will create a new
- capped collection using the
- create command
- and proceed to insert a new document into that collection each second.
-
-
-executeCommand('test', new MongoDB\Driver\Command([
- 'create' => 'asteroids',
- 'capped' => true,
- 'size' => 1048576,
-]));
-
-while (true) {
- $bulkWrite = new MongoDB\Driver\BulkWrite;
- $bulkWrite->insert(['createdAt' => new MongoDB\BSON\UTCDateTime]);
- $manager->executeBulkWrite('test.asteroids', $bulkWrite);
-
- sleep(1);
-}
-
-?>
-]]>
-
-
- With the producer script still running, a second consumer script may be
- executed to read the inserted documents using a tailable cursor, indicated
- by the tailable and awaitData options
- to MongoDB\Driver\Query::__construct.
-
-
- true,
- 'awaitData' => true,
-]);
-
-$cursor = $manager->executeQuery('test.asteroids', $query);
-
-$iterator = new IteratorIterator($cursor);
-
-$iterator->rewind();
-
-while (true) {
- if ($iterator->valid()) {
- $document = $iterator->current();
- printf("Consumed document created at: %s\n", $document->createdAt);
- }
-
- $iterator->next();
-}
-
-?>
-]]>
-
-
- The consumer script will start by quickly printing all available documents
- in the capped collection (as if foreach had been used);
- however, it will not terminate upon reaching the end of the initial result
- set. Since the cursor is tailable, calling
- IteratorIterator::next will block and wait for
- additional results. IteratorIterator::valid is also
- used to check if there is actually data available to read at each step.
-
-
-
- This example uses the awaitData query option to
- instruct the server to block for a short period (e.g. one second) at the
- end of the result set before returning a response to the driver. This is
- used to prevent the driver from aggressively polling the server when there
- are no results available. The maxAwaitTimeMS option may
- be used in conjunction with tailable and
- awaitData to specify the amount of time that the server
- should block when it reaches the end of the result set.
-
-
-
-
-
-
- &reftitle.errors;
-
- When iterating over the cursor object, BSON data is converted into PHP
- variables. This iteration can cause the following Exceptions:
-
-
-
- Throws
- MongoDB\Driver\Exception\InvalidArgumentException if
- a class in the type map cannot be instantiated or does not implement
- MongoDB\BSON\Unserializable.
-
- &mongodb.throws.bson.unexpected;
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.cursor;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/construct.xml b/reference/mongodb/mongodb/driver/cursor/construct.xml
deleted file mode 100644
index d44e436eb..000000000
--- a/reference/mongodb/mongodb/driver/cursor/construct.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::__construct
- Create a new Cursor (not used)
-
-
-
- &reftitle.description;
-
- finalprivateMongoDB\Driver\Cursor::__construct
-
-
-
- MongoDB\Driver\Cursor objects are returned as the
- result of an executed command or query and cannot be constructed directly.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeCommand
- MongoDB\Driver\Manager::executeQuery
- MongoDB\Driver\Server::executeCommand
- MongoDB\Driver\Server::executeQuery
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/current.xml b/reference/mongodb/mongodb/driver/cursor/current.xml
deleted file mode 100644
index 1a4d04c3c..000000000
--- a/reference/mongodb/mongodb/driver/cursor/current.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::current
- Returns the current element
-
-
-
- &reftitle.description;
-
- publicarrayobjectMongoDB\Driver\Cursor::current
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the current result document as an array or object, depending on the
- cursor's type map. If iteration has not started or the current position
- is not valid, &null; will be returned.
-
-
-
-
- &reftitle.seealso;
-
- Iterator::current
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/getid.xml b/reference/mongodb/mongodb/driver/cursor/getid.xml
deleted file mode 100644
index 3a26a782d..000000000
--- a/reference/mongodb/mongodb/driver/cursor/getid.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::getId
- Returns the ID for this cursor
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\CursorIdMongoDB\Driver\Cursor::getId
-
-
-
- Returns the MongoDB\Driver\CursorId associated with
- this cursor. A cursor ID uniquely identifies the cursor on the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\CursorId for this cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Cursor::getId example
-
- 2]);
-
-$bulk = new MongoDB\Driver\BulkWrite;
-$bulk->insert(['x' => 1]);
-$bulk->insert(['x' => 2]);
-$bulk->insert(['x' => 3]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$cursor = $manager->executeQuery('db.collection', $query);
-var_dump($cursor->getId());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- int(94810124093)
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\CursorId
- MongoDB\Driver\CursorId::__toString
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/getserver.xml b/reference/mongodb/mongodb/driver/cursor/getserver.xml
deleted file mode 100644
index 7d417c6f0..000000000
--- a/reference/mongodb/mongodb/driver/cursor/getserver.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::getServer
- Returns the server associated with this cursor
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\Cursor::getServer
-
-
-
- Returns the MongoDB\Driver\Server associated with this
- cursor. This is the server that executed the
- MongoDB\Driver\Query or
- MongoDB\Driver\Command.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server associated with this
- cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Cursor::getServer example
-
-insert(['x' => 1]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$cursor = $manager->executeQuery('db.collection', $query);
-var_dump($cursor->getServer());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(9) "localhost"
- ["port"]=>
- int(27017)
- ["type"]=>
- int(1)
- ["is_primary"]=>
- bool(false)
- ["is_secondary"]=>
- bool(false)
- ["is_arbiter"]=>
- bool(false)
- ["is_hidden"]=>
- bool(false)
- ["is_passive"]=>
- bool(false)
- ["last_hello_response"]=>
- array(8) {
- ["isWritablePrimary"]=>
- bool(true)
- ["maxBsonObjectSize"]=>
- int(16777216)
- ["maxMessageSizeBytes"]=>
- int(48000000)
- ["maxWriteBatchSize"]=>
- int(1000)
- ["localTime"]=>
- object(MongoDB\BSON\UTCDateTime)#6 (1) {
- ["milliseconds"]=>
- int(1446505367907)
- }
- ["maxWireVersion"]=>
- int(3)
- ["minWireVersion"]=>
- int(0)
- ["ok"]=>
- float(1)
- }
- ["round_trip_time"]=>
- int(584)
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/isdead.xml b/reference/mongodb/mongodb/driver/cursor/isdead.xml
deleted file mode 100644
index c94f086be..000000000
--- a/reference/mongodb/mongodb/driver/cursor/isdead.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::isDead
- Checks if the cursor is exhausted or may have additional results
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Cursor::isDead
-
-
-
- Checks whether there are definitely no additional results available on the
- cursor. This method is similar to the
- cursor.isExhausted()
- method in the MongoDB shell and is primarily useful when iterating
- tailable cursors.
-
-
- A cursor has no additional results and is considered "dead" when one of the
- following is true:
-
-
- The current batch has been fully iterated and the
- cursor ID is zero (i.e. a
- getMore
- cannot be issued).
-
- An error was encountered while iterating the cursor.
- The cursor reached its configured limit.
-
-
-
- By design, it is not possible to always determine whether a cursor has
- additional results. The cases where a cursor may have
- more data available is as follows:
-
-
- There are additional documents in the current batch, which are buffered on
- the client side. Iterating will fetch a document from the local buffer.
-
-
- There are no additional documents in the current batch (i.e. local buffer),
- but the cursor ID is non-zero. Iterating will request more documents from
- the server via a
- getMore
- operation, which may or may not return additional results and/or indicate
- that the cursor has been closed on the server by returning zero for its ID.
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if there are definitely no additional results available on the
- cursor, and &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Cursor::isDead example
-
-insert(['x' => 1]);
-$bulk->insert(['x' => 2]);
-$bulk->insert(['x' => 3]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$cursor = $manager->executeQuery('db.collection', $query);
-
-$iterator = new IteratorIterator($cursor);
-
-$iterator->rewind();
-var_dump($cursor->isDead());
-
-$iterator->next();
-var_dump($cursor->isDead());
-
-$iterator->next();
-var_dump($cursor->isDead());
-
-$iterator->next();
-var_dump($cursor->isDead());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Tailable Cursors in the MongoDB manual
- cursor.isExhausted() in the MongoDB manual
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/key.xml b/reference/mongodb/mongodb/driver/cursor/key.xml
deleted file mode 100644
index 1d8b9bbd5..000000000
--- a/reference/mongodb/mongodb/driver/cursor/key.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::key
- Returns the current result's index within the cursor
-
-
-
- &reftitle.description;
-
- publicintMongoDB\Driver\Cursor::key
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The current result's numeric index within the cursor.
-
-
-
-
- &reftitle.seealso;
-
- Iterator::key
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/next.xml b/reference/mongodb/mongodb/driver/cursor/next.xml
deleted file mode 100644
index 34b82a1a1..000000000
--- a/reference/mongodb/mongodb/driver/cursor/next.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::next
- Advances the cursor to the next result
-
-
-
- &reftitle.description;
-
- publicvoidMongoDB\Driver\Cursor::next
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Moves the current position to the next element in the cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.std;
-
-
-
-
- &reftitle.seealso;
-
- Iterator::next
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/rewind.xml b/reference/mongodb/mongodb/driver/cursor/rewind.xml
deleted file mode 100644
index d9066e652..000000000
--- a/reference/mongodb/mongodb/driver/cursor/rewind.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::rewind
- Rewind the cursor to the first result
-
-
-
- &reftitle.description;
-
- publicvoidMongoDB\Driver\Cursor::rewind
-
-
-
- If the cursor has advanced beyond its first position, it can no longer be
- rewound.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &null;.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\LogicException if this method is called after the cursor has advanced beyond its first position.
-
-
-
-
- &reftitle.seealso;
-
- Iterator::rewind
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/settypemap.xml b/reference/mongodb/mongodb/driver/cursor/settypemap.xml
deleted file mode 100644
index 9949f30a1..000000000
--- a/reference/mongodb/mongodb/driver/cursor/settypemap.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::setTypeMap
- Sets a type map to use for BSON unserialization
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Cursor::setTypeMap
- arraytypemap
-
-
- Sets the type map
- configuration to use when unserializing the BSON results into PHP
- values.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.typeMap;
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
- When iterating over the cursor, the following exceptions can also be thrown
- due to an incorrect type map configuration:
-
-
- Throws
- MongoDB\Driver\Exception\InvalidArgumentException if
- a class in the type map cannot be instantiated or does not implement
- MongoDB\BSON\Unserializable.
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Cursor::setTypeMap example
-
-insert(['x' => 1]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$query = new MongoDB\Driver\Query(['_id' => $id]);
-$cursor = $manager->executeQuery('db.collection', $query);
-$cursor->setTypeMap(['root' => 'array']);
-
-foreach ($cursor as $document) {
- var_dump($document);
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\BSON\ObjectId)#6 (1) {
- ["oid"]=>
- string(24) "56424fb76118fd3267180741"
- }
- ["x"]=>
- int(1)
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/toarray.xml b/reference/mongodb/mongodb/driver/cursor/toarray.xml
deleted file mode 100644
index da53b10fd..000000000
--- a/reference/mongodb/mongodb/driver/cursor/toarray.xml
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::toArray
- Returns an array containing all results for this cursor
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\Cursor::toArray
-
-
-
- Iterates the cursor and returns its results in an array.
- MongoDB\Driver\Cursor::setTypeMap may be used to control
- how documents are unserialized into PHP values.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array containing all results for this cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Cursor::toArray example
-
-insert(['x' => 1]);
-$bulk->insert(['x' => 2]);
-$bulk->insert(['x' => 3]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$query = new MongoDB\Driver\Query([]);
-$cursor = $manager->executeQuery('db.collection', $query);
-
-var_dump($cursor->toArray());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(stdClass)#6 (2) {
- ["_id"]=>
- object(MongoDB\BSON\ObjectId)#5 (1) {
- ["oid"]=>
- string(24) "564259a96118fd40b41bcf61"
- }
- ["x"]=>
- int(1)
- }
- [1]=>
- object(stdClass)#8 (2) {
- ["_id"]=>
- object(MongoDB\BSON\ObjectId)#7 (1) {
- ["oid"]=>
- string(24) "564259a96118fd40b41bcf62"
- }
- ["x"]=>
- int(2)
- }
- [2]=>
- object(stdClass)#10 (2) {
- ["_id"]=>
- object(MongoDB\BSON\ObjectId)#9 (1) {
- ["oid"]=>
- string(24) "564259a96118fd40b41bcf63"
- }
- ["x"]=>
- int(3)
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::setTypeMap
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursor/valid.xml b/reference/mongodb/mongodb/driver/cursor/valid.xml
deleted file mode 100644
index 2336a90b1..000000000
--- a/reference/mongodb/mongodb/driver/cursor/valid.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Cursor::valid
- Checks if the current position in the cursor is valid
-
-
-
- &reftitle.description;
-
- publicboolMongoDB\Driver\Cursor::valid
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if the current cursor position is valid, &false; otherwise.
-
-
-
-
- &reftitle.seealso;
-
- Iterator::valid
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorid.xml b/reference/mongodb/mongodb/driver/cursorid.xml
deleted file mode 100644
index cbe61bcab..000000000
--- a/reference/mongodb/mongodb/driver/cursorid.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\CursorId class
- MongoDB\Driver\CursorId
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\CursorID class is a value object
- that represents a cursor ID. Instances of this class are returned by
- MongoDB\Driver\Cursor::getId.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\CursorId
-
-
-
- final
-
- MongoDB\Driver\CursorId
-
-
-
- Serializable
-
-
-
- Stringable
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.12.0
-
- Implements Stringable for PHP 8.0+.
-
-
-
- PECL mongodb 1.7.0
-
- Implements Serializable.
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.cursorid;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorid/construct.xml b/reference/mongodb/mongodb/driver/cursorid/construct.xml
deleted file mode 100644
index a3cb8e19b..000000000
--- a/reference/mongodb/mongodb/driver/cursorid/construct.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorId::__construct
- Create a new CursorId (not used)
-
-
-
- &reftitle.description;
-
- finalprivateMongoDB\Driver\CursorId::__construct
-
-
-
- MongoDB\Driver\CursorId objects are returned from
- MongoDB\Driver\Cursor::getId and cannot be constructed
- directly.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::getId
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorid/serialize.xml b/reference/mongodb/mongodb/driver/cursorid/serialize.xml
deleted file mode 100644
index ba58bc1f7..000000000
--- a/reference/mongodb/mongodb/driver/cursorid/serialize.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorId::serialize
- Serialize a CursorId
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\CursorId::serialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the serialized representation of the
- MongoDB\Driver\CursorId.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\CursorId::unserialize
- serialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorid/tostring.xml b/reference/mongodb/mongodb/driver/cursorid/tostring.xml
deleted file mode 100644
index eebf94915..000000000
--- a/reference/mongodb/mongodb/driver/cursorid/tostring.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorId::__toString
- String representation of the cursor ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\CursorId::__toString
-
-
-
- Returns the string representation of the cursor ID.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the string representation of the cursor ID.
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\CursorId::__toString example
-
- 2]);
-
-$bulk = new MongoDB\Driver\BulkWrite;
-$bulk->insert(['x' => 1]);
-$bulk->insert(['x' => 2]);
-$bulk->insert(['x' => 3]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$cursor = $manager->executeQuery('db.collection', $query);
-var_dump((string) $cursor->getId());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::getId
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorid/unserialize.xml b/reference/mongodb/mongodb/driver/cursorid/unserialize.xml
deleted file mode 100644
index bd60098dc..000000000
--- a/reference/mongodb/mongodb/driver/cursorid/unserialize.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorId::unserialize
- Unserialize a CursorId
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\CursorId::unserialize
- stringserialized
-
-
-
-
- &reftitle.parameters;
-
-
-
- serialized
-
-
- The serialized MongoDB\Driver\CursorId.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the properties are invalid (e.g. missing fields or invalid values).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\CursorId::serialize
- unserialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface.xml b/reference/mongodb/mongodb/driver/cursorinterface.xml
deleted file mode 100644
index 4284d3dd1..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\CursorInterface interface
- MongoDB\Driver\CursorInterface
-
-
-
-
-
- &reftitle.intro;
-
- This interface is implemented by
- MongoDB\Driver\Cursor to be used as
- a parameter, return, or property type in userland classes.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\CursorInterface
-
-
-
-
- MongoDB\Driver\CursorInterface
-
-
-
- Traversable
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.cursorinterface;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface/getid.xml b/reference/mongodb/mongodb/driver/cursorinterface/getid.xml
deleted file mode 100644
index b32320898..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface/getid.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorInterface::getId
- Returns the ID for this cursor
-
-
-
- &reftitle.description;
-
- abstractpublicMongoDB\Driver\CursorIdMongoDB\Driver\CursorInterface::getId
-
-
-
- Returns the MongoDB\Driver\CursorId associated with
- this cursor. A cursor ID uniquely identifies the cursor on the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\CursorId for this cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::getId
- MongoDB\Driver\CursorId
- MongoDB\Driver\CursorId::__toString
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface/getserver.xml b/reference/mongodb/mongodb/driver/cursorinterface/getserver.xml
deleted file mode 100644
index f64b038d2..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface/getserver.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorInterface::getServer
- Returns the server associated with this cursor
-
-
-
- &reftitle.description;
-
- abstractpublicMongoDB\Driver\ServerMongoDB\Driver\CursorInterface::getServer
-
-
-
- Returns the MongoDB\Driver\Server associated with this
- cursor. This is the server that executed the
- MongoDB\Driver\Query or
- MongoDB\Driver\Command.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server associated with this
- cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::getServer
- MongoDB\Driver\Server
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface/isdead.xml b/reference/mongodb/mongodb/driver/cursorinterface/isdead.xml
deleted file mode 100644
index 95b856e9d..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface/isdead.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorInterface::isDead
- Checks if the cursor may have additional results
-
-
-
- &reftitle.description;
-
- abstractpublicboolMongoDB\Driver\CursorInterface::isDead
-
-
-
- Checks whether the cursor may have additional results available to read. A
- cursor is initially "alive" but may become "dead" for any of the following
- reasons:
-
- Advancing a non-tailable cursor did not return a document
- The cursor encountered an error
- The cursor read its last batch to completion
- The cursor reached its configured limit
-
- This is primarily useful with tailable cursors.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if additional results are not available, and &false;
- otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::isDead
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface/settypemap.xml b/reference/mongodb/mongodb/driver/cursorinterface/settypemap.xml
deleted file mode 100644
index 6d3f04165..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface/settypemap.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorInterface::setTypeMap
- Sets a type map to use for BSON unserialization
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\CursorInterface::setTypeMap
- arraytypemap
-
-
- Sets the type map
- configuration to use when unserializing the BSON results into PHP
- values.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.typeMap;
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::setTypeMap
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/cursorinterface/toarray.xml b/reference/mongodb/mongodb/driver/cursorinterface/toarray.xml
deleted file mode 100644
index 466548205..000000000
--- a/reference/mongodb/mongodb/driver/cursorinterface/toarray.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\CursorInterface::toArray
- Returns an array containing all results for this cursor
-
-
-
- &reftitle.description;
-
- abstractpublicarrayMongoDB\Driver\CursorInterface::toArray
-
-
-
- Iterates the cursor and returns its results in an array.
- MongoDB\Driver\CursorInterface::setTypeMap may be used
- to control how documents are unserialized into PHP values.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array containing all results for this cursor.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor::toArray
- MongoDB\Driver\CursorInterface::setTypeMap
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/entities.bulkwrite.xml b/reference/mongodb/mongodb/driver/entities.bulkwrite.xml
deleted file mode 100644
index 37daf3ef1..000000000
--- a/reference/mongodb/mongodb/driver/entities.bulkwrite.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-&reference.mongodb.mongodb.driver.bulkwrite.construct;
-&reference.mongodb.mongodb.driver.bulkwrite.count;
-&reference.mongodb.mongodb.driver.bulkwrite.delete;
-&reference.mongodb.mongodb.driver.bulkwrite.insert;
-&reference.mongodb.mongodb.driver.bulkwrite.update;
diff --git a/reference/mongodb/mongodb/driver/entities.clientencryption.xml b/reference/mongodb/mongodb/driver/entities.clientencryption.xml
deleted file mode 100644
index 5f1efac83..000000000
--- a/reference/mongodb/mongodb/driver/entities.clientencryption.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.clientencryption.createdatakey;
-&reference.mongodb.mongodb.driver.clientencryption.decrypt;
-&reference.mongodb.mongodb.driver.clientencryption.encrypt;
diff --git a/reference/mongodb/mongodb/driver/entities.command.xml b/reference/mongodb/mongodb/driver/entities.command.xml
deleted file mode 100644
index 13257468e..000000000
--- a/reference/mongodb/mongodb/driver/entities.command.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.command.construct;
diff --git a/reference/mongodb/mongodb/driver/entities.cursor.xml b/reference/mongodb/mongodb/driver/entities.cursor.xml
deleted file mode 100644
index fa2022faa..000000000
--- a/reference/mongodb/mongodb/driver/entities.cursor.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-&reference.mongodb.mongodb.driver.cursor.construct;
-&reference.mongodb.mongodb.driver.cursor.current;
-&reference.mongodb.mongodb.driver.cursor.getid;
-&reference.mongodb.mongodb.driver.cursor.getserver;
-&reference.mongodb.mongodb.driver.cursor.isdead;
-&reference.mongodb.mongodb.driver.cursor.key;
-&reference.mongodb.mongodb.driver.cursor.next;
-&reference.mongodb.mongodb.driver.cursor.rewind;
-&reference.mongodb.mongodb.driver.cursor.settypemap;
-&reference.mongodb.mongodb.driver.cursor.toarray;
-&reference.mongodb.mongodb.driver.cursor.valid;
diff --git a/reference/mongodb/mongodb/driver/entities.cursorid.xml b/reference/mongodb/mongodb/driver/entities.cursorid.xml
deleted file mode 100644
index 3ade0b368..000000000
--- a/reference/mongodb/mongodb/driver/entities.cursorid.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-&reference.mongodb.mongodb.driver.cursorid.construct;
-&reference.mongodb.mongodb.driver.cursorid.serialize;
-&reference.mongodb.mongodb.driver.cursorid.tostring;
-&reference.mongodb.mongodb.driver.cursorid.unserialize;
diff --git a/reference/mongodb/mongodb/driver/entities.cursorinterface.xml b/reference/mongodb/mongodb/driver/entities.cursorinterface.xml
deleted file mode 100644
index 2140531ac..000000000
--- a/reference/mongodb/mongodb/driver/entities.cursorinterface.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-&reference.mongodb.mongodb.driver.cursorinterface.getid;
-&reference.mongodb.mongodb.driver.cursorinterface.getserver;
-&reference.mongodb.mongodb.driver.cursorinterface.isdead;
-&reference.mongodb.mongodb.driver.cursorinterface.settypemap;
-&reference.mongodb.mongodb.driver.cursorinterface.toarray;
diff --git a/reference/mongodb/mongodb/driver/entities.exception.xml b/reference/mongodb/mongodb/driver/entities.exception.xml
deleted file mode 100644
index 9bfbb8159..000000000
--- a/reference/mongodb/mongodb/driver/entities.exception.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-&reference.mongodb.mongodb.driver.exception.authenticationexception;
-&reference.mongodb.mongodb.driver.exception.bulkwriteexception;
-&reference.mongodb.mongodb.driver.exception.commandexception;
-&reference.mongodb.mongodb.driver.exception.connectionexception;
-&reference.mongodb.mongodb.driver.exception.connectiontimeoutexception;
-&reference.mongodb.mongodb.driver.exception.encryptionexception;
-&reference.mongodb.mongodb.driver.exception.entities.commandexception;
-&reference.mongodb.mongodb.driver.exception.entities.runtimeexception;
-&reference.mongodb.mongodb.driver.exception.entities.writeexception;
-&reference.mongodb.mongodb.driver.exception.exception;
-&reference.mongodb.mongodb.driver.exception.executiontimeoutexception;
-&reference.mongodb.mongodb.driver.exception.invalidargumentexception;
-&reference.mongodb.mongodb.driver.exception.logicexception;
-&reference.mongodb.mongodb.driver.exception.runtimeexception;
-&reference.mongodb.mongodb.driver.exception.serverexception;
-&reference.mongodb.mongodb.driver.exception.sslconnectionexception;
-&reference.mongodb.mongodb.driver.exception.unexpectedvalueexception;
-&reference.mongodb.mongodb.driver.exception.writeexception;
diff --git a/reference/mongodb/mongodb/driver/entities.manager.xml b/reference/mongodb/mongodb/driver/entities.manager.xml
deleted file mode 100644
index d59e7bf79..000000000
--- a/reference/mongodb/mongodb/driver/entities.manager.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-&reference.mongodb.mongodb.driver.manager.addsubscriber;
-&reference.mongodb.mongodb.driver.manager.construct;
-&reference.mongodb.mongodb.driver.manager.createclientencryption;
-&reference.mongodb.mongodb.driver.manager.executebulkwrite;
-&reference.mongodb.mongodb.driver.manager.executecommand;
-&reference.mongodb.mongodb.driver.manager.executequery;
-&reference.mongodb.mongodb.driver.manager.executereadcommand;
-&reference.mongodb.mongodb.driver.manager.executereadwritecommand;
-&reference.mongodb.mongodb.driver.manager.executewritecommand;
-&reference.mongodb.mongodb.driver.manager.getreadconcern;
-&reference.mongodb.mongodb.driver.manager.getreadpreference;
-&reference.mongodb.mongodb.driver.manager.getservers;
-&reference.mongodb.mongodb.driver.manager.getwriteconcern;
-&reference.mongodb.mongodb.driver.manager.removesubscriber;
-&reference.mongodb.mongodb.driver.manager.selectserver;
-&reference.mongodb.mongodb.driver.manager.startsession;
diff --git a/reference/mongodb/mongodb/driver/entities.monitoring.xml b/reference/mongodb/mongodb/driver/entities.monitoring.xml
deleted file mode 100644
index 10b697bd4..000000000
--- a/reference/mongodb/mongodb/driver/entities.monitoring.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent;
-&reference.mongodb.mongodb.driver.monitoring.commandsubscriber;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent;
-&reference.mongodb.mongodb.driver.monitoring.entities.commandfailedevent;
-&reference.mongodb.mongodb.driver.monitoring.entities.commandstartedevent;
-&reference.mongodb.mongodb.driver.monitoring.entities.commandsubscriber;
-&reference.mongodb.mongodb.driver.monitoring.entities.commandsucceededevent;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber;
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent;
-&reference.mongodb.mongodb.driver.monitoring.serverclosedevent;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatstartedevent;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent;
-&reference.mongodb.mongodb.driver.monitoring.serveropeningevent;
-&reference.mongodb.mongodb.driver.monitoring.subscriber;
-&reference.mongodb.mongodb.driver.monitoring.topologychangedevent;
-&reference.mongodb.mongodb.driver.monitoring.topologyclosedevent;
-&reference.mongodb.mongodb.driver.monitoring.topologyopeningevent;
diff --git a/reference/mongodb/mongodb/driver/entities.query.xml b/reference/mongodb/mongodb/driver/entities.query.xml
deleted file mode 100644
index 6f7100eca..000000000
--- a/reference/mongodb/mongodb/driver/entities.query.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.query.construct;
diff --git a/reference/mongodb/mongodb/driver/entities.readconcern.xml b/reference/mongodb/mongodb/driver/entities.readconcern.xml
deleted file mode 100644
index 709a2d3b2..000000000
--- a/reference/mongodb/mongodb/driver/entities.readconcern.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-&reference.mongodb.mongodb.driver.readconcern.bsonserialize;
-&reference.mongodb.mongodb.driver.readconcern.construct;
-&reference.mongodb.mongodb.driver.readconcern.getlevel;
-&reference.mongodb.mongodb.driver.readconcern.isdefault;
-&reference.mongodb.mongodb.driver.readconcern.serialize;
-&reference.mongodb.mongodb.driver.readconcern.unserialize;
diff --git a/reference/mongodb/mongodb/driver/entities.readpreference.xml b/reference/mongodb/mongodb/driver/entities.readpreference.xml
deleted file mode 100644
index 26c34bf41..000000000
--- a/reference/mongodb/mongodb/driver/entities.readpreference.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-&reference.mongodb.mongodb.driver.readpreference.bsonserialize;
-&reference.mongodb.mongodb.driver.readpreference.construct;
-&reference.mongodb.mongodb.driver.readpreference.gethedge;
-&reference.mongodb.mongodb.driver.readpreference.getmaxstalenessseconds;
-&reference.mongodb.mongodb.driver.readpreference.getmode;
-&reference.mongodb.mongodb.driver.readpreference.getmodestring;
-&reference.mongodb.mongodb.driver.readpreference.gettagsets;
-&reference.mongodb.mongodb.driver.readpreference.serialize;
-&reference.mongodb.mongodb.driver.readpreference.unserialize;
diff --git a/reference/mongodb/mongodb/driver/entities.server.xml b/reference/mongodb/mongodb/driver/entities.server.xml
deleted file mode 100644
index c21483274..000000000
--- a/reference/mongodb/mongodb/driver/entities.server.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-&reference.mongodb.mongodb.driver.server.construct;
-&reference.mongodb.mongodb.driver.server.executebulkwrite;
-&reference.mongodb.mongodb.driver.server.executecommand;
-&reference.mongodb.mongodb.driver.server.executequery;
-&reference.mongodb.mongodb.driver.server.executereadcommand;
-&reference.mongodb.mongodb.driver.server.executereadwritecommand;
-&reference.mongodb.mongodb.driver.server.executewritecommand;
-&reference.mongodb.mongodb.driver.server.gethost;
-&reference.mongodb.mongodb.driver.server.getinfo;
-&reference.mongodb.mongodb.driver.server.getlatency;
-&reference.mongodb.mongodb.driver.server.getport;
-&reference.mongodb.mongodb.driver.server.getserverdescription;
-&reference.mongodb.mongodb.driver.server.gettags;
-&reference.mongodb.mongodb.driver.server.gettype;
-&reference.mongodb.mongodb.driver.server.isarbiter;
-&reference.mongodb.mongodb.driver.server.ishidden;
-&reference.mongodb.mongodb.driver.server.ispassive;
-&reference.mongodb.mongodb.driver.server.isprimary;
-&reference.mongodb.mongodb.driver.server.issecondary;
diff --git a/reference/mongodb/mongodb/driver/entities.serverapi.xml b/reference/mongodb/mongodb/driver/entities.serverapi.xml
deleted file mode 100644
index ab1cc9f82..000000000
--- a/reference/mongodb/mongodb/driver/entities.serverapi.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-&reference.mongodb.mongodb.driver.serverapi.bsonserialize;
-&reference.mongodb.mongodb.driver.serverapi.construct;
-&reference.mongodb.mongodb.driver.serverapi.serialize;
-&reference.mongodb.mongodb.driver.serverapi.unserialize;
diff --git a/reference/mongodb/mongodb/driver/entities.serverdescription.xml b/reference/mongodb/mongodb/driver/entities.serverdescription.xml
deleted file mode 100644
index fcdebbf59..000000000
--- a/reference/mongodb/mongodb/driver/entities.serverdescription.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-&reference.mongodb.mongodb.driver.serverdescription.gethelloresponse;
-&reference.mongodb.mongodb.driver.serverdescription.gethost;
-&reference.mongodb.mongodb.driver.serverdescription.getlastupdatetime;
-&reference.mongodb.mongodb.driver.serverdescription.getport;
-&reference.mongodb.mongodb.driver.serverdescription.getroundtriptime;
-&reference.mongodb.mongodb.driver.serverdescription.gettype;
diff --git a/reference/mongodb/mongodb/driver/entities.session.xml b/reference/mongodb/mongodb/driver/entities.session.xml
deleted file mode 100644
index ee7203c72..000000000
--- a/reference/mongodb/mongodb/driver/entities.session.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-&reference.mongodb.mongodb.driver.session.aborttransaction;
-&reference.mongodb.mongodb.driver.session.advanceclustertime;
-&reference.mongodb.mongodb.driver.session.advanceoperationtime;
-&reference.mongodb.mongodb.driver.session.committransaction;
-&reference.mongodb.mongodb.driver.session.construct;
-&reference.mongodb.mongodb.driver.session.endsession;
-&reference.mongodb.mongodb.driver.session.getclustertime;
-&reference.mongodb.mongodb.driver.session.getlogicalsessionid;
-&reference.mongodb.mongodb.driver.session.getoperationtime;
-&reference.mongodb.mongodb.driver.session.getserver;
-&reference.mongodb.mongodb.driver.session.gettransactionoptions;
-&reference.mongodb.mongodb.driver.session.gettransactionstate;
-&reference.mongodb.mongodb.driver.session.isdirty;
-&reference.mongodb.mongodb.driver.session.isintransaction;
-&reference.mongodb.mongodb.driver.session.starttransaction;
diff --git a/reference/mongodb/mongodb/driver/entities.topologydescription.xml b/reference/mongodb/mongodb/driver/entities.topologydescription.xml
deleted file mode 100644
index 3af929d93..000000000
--- a/reference/mongodb/mongodb/driver/entities.topologydescription.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-&reference.mongodb.mongodb.driver.topologydescription.getservers;
-&reference.mongodb.mongodb.driver.topologydescription.gettype;
-&reference.mongodb.mongodb.driver.topologydescription.hasreadableserver;
-&reference.mongodb.mongodb.driver.topologydescription.haswritableserver;
diff --git a/reference/mongodb/mongodb/driver/entities.writeconcern.xml b/reference/mongodb/mongodb/driver/entities.writeconcern.xml
deleted file mode 100644
index 628c72057..000000000
--- a/reference/mongodb/mongodb/driver/entities.writeconcern.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-&reference.mongodb.mongodb.driver.writeconcern.bsonserialize;
-&reference.mongodb.mongodb.driver.writeconcern.construct;
-&reference.mongodb.mongodb.driver.writeconcern.getjournal;
-&reference.mongodb.mongodb.driver.writeconcern.getw;
-&reference.mongodb.mongodb.driver.writeconcern.getwtimeout;
-&reference.mongodb.mongodb.driver.writeconcern.isdefault;
-&reference.mongodb.mongodb.driver.writeconcern.serialize;
-&reference.mongodb.mongodb.driver.writeconcern.unserialize;
diff --git a/reference/mongodb/mongodb/driver/entities.writeconcernerror.xml b/reference/mongodb/mongodb/driver/entities.writeconcernerror.xml
deleted file mode 100644
index 004198a84..000000000
--- a/reference/mongodb/mongodb/driver/entities.writeconcernerror.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.writeconcernerror.getcode;
-&reference.mongodb.mongodb.driver.writeconcernerror.getinfo;
-&reference.mongodb.mongodb.driver.writeconcernerror.getmessage;
diff --git a/reference/mongodb/mongodb/driver/entities.writeerror.xml b/reference/mongodb/mongodb/driver/entities.writeerror.xml
deleted file mode 100644
index 2ff5a70b2..000000000
--- a/reference/mongodb/mongodb/driver/entities.writeerror.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-&reference.mongodb.mongodb.driver.writeerror.getcode;
-&reference.mongodb.mongodb.driver.writeerror.getindex;
-&reference.mongodb.mongodb.driver.writeerror.getinfo;
-&reference.mongodb.mongodb.driver.writeerror.getmessage;
diff --git a/reference/mongodb/mongodb/driver/entities.writeresult.xml b/reference/mongodb/mongodb/driver/entities.writeresult.xml
deleted file mode 100644
index c19d55081..000000000
--- a/reference/mongodb/mongodb/driver/entities.writeresult.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-&reference.mongodb.mongodb.driver.writeresult.getdeletedcount;
-&reference.mongodb.mongodb.driver.writeresult.getinsertedcount;
-&reference.mongodb.mongodb.driver.writeresult.getmatchedcount;
-&reference.mongodb.mongodb.driver.writeresult.getmodifiedcount;
-&reference.mongodb.mongodb.driver.writeresult.getserver;
-&reference.mongodb.mongodb.driver.writeresult.getupsertedcount;
-&reference.mongodb.mongodb.driver.writeresult.getupsertedids;
-&reference.mongodb.mongodb.driver.writeresult.getwriteconcernerror;
-&reference.mongodb.mongodb.driver.writeresult.getwriteerrors;
-&reference.mongodb.mongodb.driver.writeresult.isacknowledged;
diff --git a/reference/mongodb/mongodb/driver/exception/authenticationexception.xml b/reference/mongodb/mongodb/driver/exception/authenticationexception.xml
deleted file mode 100644
index e3e3fb533..000000000
--- a/reference/mongodb/mongodb/driver/exception/authenticationexception.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\AuthenticationException class
- MongoDB\Driver\Exception\AuthenticationException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver fails to authenticate with the server.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\AuthenticationException
-
-
-
-
- MongoDB\Driver\Exception\AuthenticationException
-
-
-
- extends
- MongoDB\Driver\Exception\ConnectionException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml b/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml
deleted file mode 100644
index 67c49507f..000000000
--- a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\BulkWriteException class
- MongoDB\Driver\Exception\BulkWriteException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when a bulk write operation fails.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\BulkWriteException
-
-
-
-
- MongoDB\Driver\Exception\BulkWriteException
-
-
-
- extends
- MongoDB\Driver\Exception\WriteException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/commandexception.xml b/reference/mongodb/mongodb/driver/exception/commandexception.xml
deleted file mode 100644
index ab44ffc22..000000000
--- a/reference/mongodb/mongodb/driver/exception/commandexception.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\CommandException class
- MongoDB\Driver\Exception\CommandException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when a command fails.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\CommandException
-
-
-
-
- MongoDB\Driver\Exception\CommandException
-
-
-
- extends
- MongoDB\Driver\Exception\ServerException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &Properties;
-
- protected
- object
- resultDocument
-
-
- &InheritedProperties;
-
-
-
-
-
- &Methods;
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.properties;
-
-
- resultDocument
-
-
- The result document associated with the failed command.
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.exception.entities.commandexception;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/commandexception/getresultdocument.xml b/reference/mongodb/mongodb/driver/exception/commandexception/getresultdocument.xml
deleted file mode 100644
index 9835c795b..000000000
--- a/reference/mongodb/mongodb/driver/exception/commandexception/getresultdocument.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Exception\CommandException::getResultDocument
- Returns the result document for the failed command
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Exception\CommandException::getResultDocument
-
-
-
- Returns the result document for the failed command.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The result document for the failed command.
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeCommand
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/connectionexception.xml b/reference/mongodb/mongodb/driver/exception/connectionexception.xml
deleted file mode 100644
index c85a1b97c..000000000
--- a/reference/mongodb/mongodb/driver/exception/connectionexception.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\ConnectionException class
- MongoDB\Driver\Exception\ConnectionException
-
-
-
-
-
- &reftitle.intro;
-
- Base class for exceptions thrown when the driver fails to establish a
- database connection.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\ConnectionException
-
-
-
-
- MongoDB\Driver\Exception\ConnectionException
-
-
-
- extends
- MongoDB\Driver\Exception\RuntimeException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/connectiontimeoutexception.xml b/reference/mongodb/mongodb/driver/exception/connectiontimeoutexception.xml
deleted file mode 100644
index 94a0f3606..000000000
--- a/reference/mongodb/mongodb/driver/exception/connectiontimeoutexception.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\ConnectionTimeoutException class
- MongoDB\Driver\Exception\ConnectionTimeoutException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver fails to establish a database connection within a
- specified time limit
- (connectTimeoutMS)
- or server selection fails
- (serverSelectionTimeoutMS).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\ConnectionTimeoutException
-
-
-
- final
-
- MongoDB\Driver\Exception\ConnectionTimeoutException
-
-
-
- extends
- MongoDB\Driver\Exception\ConnectionException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/encryptionexception.xml b/reference/mongodb/mongodb/driver/exception/encryptionexception.xml
deleted file mode 100644
index dc13d4ee2..000000000
--- a/reference/mongodb/mongodb/driver/exception/encryptionexception.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\EncryptionException class
- MongoDB\Driver\Exception\EncryptionException
-
-
-
-
-
- &reftitle.intro;
-
- Base class for exceptions thrown during client-side encryption.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\EncryptionException
-
-
-
-
- MongoDB\Driver\Exception\EncryptionException
-
-
-
- extends
- MongoDB\Driver\Exception\RuntimeException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/entities.commandexception.xml b/reference/mongodb/mongodb/driver/exception/entities.commandexception.xml
deleted file mode 100644
index dddc9a456..000000000
--- a/reference/mongodb/mongodb/driver/exception/entities.commandexception.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.exception.commandexception.getresultdocument;
diff --git a/reference/mongodb/mongodb/driver/exception/entities.runtimeexception.xml b/reference/mongodb/mongodb/driver/exception/entities.runtimeexception.xml
deleted file mode 100644
index 68ff2c58a..000000000
--- a/reference/mongodb/mongodb/driver/exception/entities.runtimeexception.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.exception.runtimeexception.haserrorlabel;
diff --git a/reference/mongodb/mongodb/driver/exception/entities.writeexception.xml b/reference/mongodb/mongodb/driver/exception/entities.writeexception.xml
deleted file mode 100644
index 526fd4ed2..000000000
--- a/reference/mongodb/mongodb/driver/exception/entities.writeexception.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.exception.writeexception.getwriteresult;
diff --git a/reference/mongodb/mongodb/driver/exception/exception.xml b/reference/mongodb/mongodb/driver/exception/exception.xml
deleted file mode 100644
index f266d6023..000000000
--- a/reference/mongodb/mongodb/driver/exception/exception.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\Exception interface
- MongoDB\Driver\Exception\Exception
-
-
-
-
-
- &reftitle.intro;
-
- Common interface for all driver exceptions. This may be used to catch only
- exceptions originating from the driver itself.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/executiontimeoutexception.xml b/reference/mongodb/mongodb/driver/exception/executiontimeoutexception.xml
deleted file mode 100644
index a26d0b7f6..000000000
--- a/reference/mongodb/mongodb/driver/exception/executiontimeoutexception.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\ExecutionTimeoutException class
- MongoDB\Driver\Exception\ExecutionTimeoutException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when a query or command fails to complete within a specified time
- limit (e.g.
- maxTimeMS).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\ExecutionTimeoutException
-
-
-
- final
-
- MongoDB\Driver\Exception\ExecutionTimeoutException
-
-
-
- extends
- MongoDB\Driver\Exception\ServerException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.5.0
-
-
- This class now extends
- MongoDB\Driver\Exception\ServerException
- instead of
- MongoDB\Driver\Exception\RuntimeException.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/invalidargumentexception.xml b/reference/mongodb/mongodb/driver/exception/invalidargumentexception.xml
deleted file mode 100644
index 691c0c8d5..000000000
--- a/reference/mongodb/mongodb/driver/exception/invalidargumentexception.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\InvalidArgumentException class
- MongoDB\Driver\Exception\InvalidArgumentException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when a driver method is given invalid arguments (e.g. invalid option
- types).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\InvalidArgumentException
-
-
-
-
- MongoDB\Driver\Exception\InvalidArgumentException
-
-
-
- extends
- InvalidArgumentException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/logicexception.xml b/reference/mongodb/mongodb/driver/exception/logicexception.xml
deleted file mode 100644
index abc0d2fb2..000000000
--- a/reference/mongodb/mongodb/driver/exception/logicexception.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\LogicException class
- MongoDB\Driver\Exception\LogicException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver is incorrectly used (e.g. rewinding a cursor).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\LogicException
-
-
-
-
- MongoDB\Driver\Exception\LogicException
-
-
-
- extends
- LogicException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/runtimeexception.xml b/reference/mongodb/mongodb/driver/exception/runtimeexception.xml
deleted file mode 100644
index 525da2155..000000000
--- a/reference/mongodb/mongodb/driver/exception/runtimeexception.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\RuntimeException class
- MongoDB\Driver\Exception\RuntimeException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver encounters a runtime error (e.g. internal error from
- libmongoc).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\RuntimeException
-
-
-
-
- MongoDB\Driver\Exception\RuntimeException
-
-
-
- extends
- RuntimeException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &Properties;
-
- protected
- arraynull
- errorLabels
-
-
- &InheritedProperties;
-
-
-
- &Methods;
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
- &reftitle.properties;
-
-
- errorLabels
-
-
- Contains an array of error labels to go with an exception. For example,
- error labels can be used to detect whether a transaction can be retried
- safely if the TransientTransactionError label is
- present. The existence of a specific error label should be tested for
- with the
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel,
- instead of interpreting this errorLabels property
- manually.
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.6.0
-
-
- The
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
- method and
- MongoDB\Driver\Exception\RuntimeException::errorLabels
- property have been added.
-
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.exception.entities.runtimeexception;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/runtimeexception/haserrorlabel.xml b/reference/mongodb/mongodb/driver/exception/runtimeexception/haserrorlabel.xml
deleted file mode 100644
index 3e0f4097b..000000000
--- a/reference/mongodb/mongodb/driver/exception/runtimeexception/haserrorlabel.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
- Returns whether an error label is associated with an exception
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Exception\RuntimeException::hasErrorLabel
- stringerrorLabel
-
-
- Returns whether the errorLabel has been set for this
- exception. Error labels are set by either the server or the driver to
- indicated specific situations on which you might want to decide on how you
- want to handle a specific exception. A common situation might be to find
- out whether you can safely retry a transaction that failed due to a
- transient error (like a networking issue, or a transaction conflict).
- Examples of error labels are TransientTransactionError
- and UnknownTransactionCommitResult.
-
-
-
-
-
- &reftitle.parameters;
-
-
- errorLabel
-
- The name of the errorLabel to test for.
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Whether the given errorLabel is associated with this
- exception.
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::commitTransaction
- MongoDB documentation on transactions
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/serverexception.xml b/reference/mongodb/mongodb/driver/exception/serverexception.xml
deleted file mode 100644
index c679a85fd..000000000
--- a/reference/mongodb/mongodb/driver/exception/serverexception.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\ServerException class
- MongoDB\Driver\Exception\ServerException
-
-
-
-
-
- &reftitle.intro;
-
- Base class for exceptions thrown by the server. The code of this exception and its subclasses will correspond to the original error code from the server.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\ServerException
-
-
-
-
- MongoDB\Driver\Exception\ServerException
-
-
-
- extends
- MongoDB\Driver\Exception\RuntimeException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/sslconnectionexception.xml b/reference/mongodb/mongodb/driver/exception/sslconnectionexception.xml
deleted file mode 100644
index ef0821078..000000000
--- a/reference/mongodb/mongodb/driver/exception/sslconnectionexception.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\SSLConnectionException class (deprecated)
- MongoDB\Driver\Exception\SSLConnectionException
-
-
-
-
-
- This exception class is deprecated and may be removed in a future major version. The driver has never thrown this exception.
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver fails to establish an SSL connection with the server.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\SSLConnectionException
-
-
-
- final
-
- MongoDB\Driver\Exception\SSLConnectionException
-
-
-
- extends
- MongoDB\Driver\Exception\ConnectionException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/unexpectedvalueexception.xml b/reference/mongodb/mongodb/driver/exception/unexpectedvalueexception.xml
deleted file mode 100644
index 8a99d0c3e..000000000
--- a/reference/mongodb/mongodb/driver/exception/unexpectedvalueexception.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\UnexpectedValueException class
- MongoDB\Driver\Exception\UnexpectedValueException
-
-
-
-
-
- &reftitle.intro;
-
- Thrown when the driver encounters an unexpected value (e.g. during BSON
- serialization or deserialization).
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\UnexpectedValueException
-
-
-
-
- MongoDB\Driver\Exception\UnexpectedValueException
-
-
-
- extends
- UnexpectedValueException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &InheritedProperties;
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/writeexception.xml b/reference/mongodb/mongodb/driver/exception/writeexception.xml
deleted file mode 100644
index 35fc63ff9..000000000
--- a/reference/mongodb/mongodb/driver/exception/writeexception.xml
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Exception\WriteException class
- MongoDB\Driver\Exception\WriteException
-
-
-
-
-
- &reftitle.intro;
-
- Base class for exceptions thrown by a failed write operation. The exception
- encapsulates a MongoDB\Driver\WriteResult object.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Exception\WriteException
-
-
-
-
- abstract
- MongoDB\Driver\Exception\WriteException
-
-
-
- extends
- MongoDB\Driver\Exception\ServerException
-
-
-
- MongoDB\Driver\Exception\Exception
-
-
-
- &Properties;
-
- protected
- MongoDB\Driver\WriteResult
- writeResult
-
-
- &InheritedProperties;
-
-
-
-
-
- &Methods;
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.properties;
-
-
- writeResult
-
-
- The MongoDB\Driver\WriteResult associated with
- the failed write operation.
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.5.0
-
-
- This class now extends
- MongoDB\Driver\Exception\ServerException
- instead of
- MongoDB\Driver\Exception\RuntimeException.
-
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.exception.entities.writeexception;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/exception/writeexception/getwriteresult.xml b/reference/mongodb/mongodb/driver/exception/writeexception/getwriteresult.xml
deleted file mode 100644
index 70db2383b..000000000
--- a/reference/mongodb/mongodb/driver/exception/writeexception/getwriteresult.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Exception\WriteException::getWriteResult
- Returns the WriteResult for the failed write operation
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteResultMongoDB\Driver\Exception\WriteException::getWriteResult
-
-
-
- Returns the MongoDB\Driver\WriteResult for the failed
- write operation. The
- MongoDB\Driver\WriteResult::getWriteErrors and
- MongoDB\Driver\WriteResult::getWriteConcernError methods
- may be used to get more details about the failure.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The MongoDB\Driver\WriteResult for the failed write
- operation.
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Exception\WriteException::getWriteResult example
-
-insert(['_id' => 1]);
-$bulk->insert(['_id' => 1]);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk);
-} catch (MongoDB\Driver\Exception\WriteException $e) {
- $writeResult = $e->getWriteResult();
-
- if ($writeConcernError = $writeResult->getWriteConcernError()) {
- var_dump($writeConcernError);
- }
-
- if ($writeErrors = $writeResult->getWriteErrors()) {
- var_dump($writeErrors);
- }
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\Driver\WriteError)#5 (4) {
- ["message"]=>
- string(70) "E11000 duplicate key error index: db.collection.$_id_ dup key: { : 1 }"
- ["code"]=>
- int(11000)
- ["index"]=>
- int(1)
- ["info"]=>
- NULL
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult
- MongoDB\Driver\Manager::executeBulkWrite
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager.xml b/reference/mongodb/mongodb/driver/manager.xml
deleted file mode 100644
index 4c3ffb372..000000000
--- a/reference/mongodb/mongodb/driver/manager.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Manager class
- MongoDB\Driver\Manager
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Manager is the main entry point
- to the extension. It is responsible for maintaining connections to MongoDB
- (be it standalone server, replica set, or sharded cluster).
-
-
- No connection to MongoDB is made upon instantiating the Manager.
- This means the MongoDB\Driver\Manager can always be
- constructed, even though one or more MongoDB servers are down.
-
-
- Any write or query can throw connection exceptions as connections are created lazily.
- A MongoDB server may also become unavailable during the life time of the script.
- It is therefore important that all actions on the Manager to be wrapped in try/catch statements.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Manager
-
-
-
- final
-
- MongoDB\Driver\Manager
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
- &reftitle.examples;
-
-
- MongoDB\Driver\Manager::__construct basic example
-
- var_dumping a
- MongoDB\Driver\Manager will print out various
- details about the manager that are otherwise not normally exposed.
- This can be useful to debug how the driver views your MongoDB setup, and
- which options are used.
-
-
-
-]]>
-
- &example.outputs.similar;
-
-
- string(26) "mongodb://127.0.0.1:27017/"
- ["cluster"]=>
- array(0) {
- }
-}
-]]>
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.manager;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/addsubscriber.xml b/reference/mongodb/mongodb/driver/manager/addsubscriber.xml
deleted file mode 100644
index b05b5fda5..000000000
--- a/reference/mongodb/mongodb/driver/manager/addsubscriber.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::addSubscriber
- Registers a monitoring event subscriber with this Manager
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Manager::addSubscriber
- MongoDB\Driver\Monitoring\Subscribersubscriber
-
-
- Registers a monitoring event subscriber with this Manager. The subscriber
- will be notified of all events for this Manager.
-
-
-
- If subscriber is already registered with this
- Manager, this function is a no-op. If subscriber is
- also registered globally, it will still only be notified once of each event
- for this Manager.
-
-
-
-
-
- &reftitle.parameters;
-
-
- subscriber (MongoDB\Driver\Monitoring\Subscriber)
-
-
- A monitoring event subscriber to register with this Manager.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::removeSubscriber
- MongoDB\Driver\Monitoring\Subscriber
- MongoDB\Driver\Monitoring\CommandSubscriber
- MongoDB\Driver\Monitoring\addSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/construct.xml b/reference/mongodb/mongodb/driver/manager/construct.xml
deleted file mode 100644
index 9e615817d..000000000
--- a/reference/mongodb/mongodb/driver/manager/construct.xml
+++ /dev/null
@@ -1,1311 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::__construct
- Create new MongoDB Manager
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\Manager::__construct
- stringuri"mongodb://127.0.0.1/"
- arrayuriOptionsarray()
- arraydriverOptionsarray()
-
-
- Constructs a new MongoDB\Driver\Manager object with the specified options.
-
-
-
- Per the Server Discovery and Monitoring Specification,
- this constructor performs no I/O. Connections will be initialized on demand,
- when the first operation is executed.
-
-
-
-
- When specifying any SSL or TLS URI options via the connection string or
- uriOptions parameter, the driver will implicitly
- enable TLS for its connections. To avoid this, either explicitly disable the
- tls option or don't specify any TLS options.
-
-
- &mongodb.note.forking;
-
-
-
- &reftitle.parameters;
-
-
- uri
-
-
- A mongodb:// connection URI:
-
-
-
-
-
- For details on supported URI options, see
- Connection String Options
- in the MongoDB manual.
- Connection pool options
- are not supported, as the PHP driver does not implement connection pools.
-
-
- The uri is a URL, hence any special characters in
- its components need to be URL encoded according to
- RFC 3986. This is particularly
- relevant to the username and password, which can often include special
- characters such as @, :, or
- %. When connecting via a Unix domain socket, the socket
- path may contain special characters such as slashes and must be encoded.
- The rawurlencode function may be used to encode
- constituent parts of the URI.
-
-
- The defaultAuthDb component may be used to specify the
- database name associated with the user's credentials; however the
- authSource URI option will take priority if specified.
- If neither defaultAuthDb nor
- authSource are specified, the admin
- database will be used by default. The defaultAuthDb
- component has no effect in the absence of user credentials.
-
-
-
-
- uriOptions
-
-
- Additional
- connection string options,
- which will overwrite any options with the same name in the
- uri parameter.
-
-
-
- uriOptions
-
-
-
- Option
- Type
- Description
-
-
-
-
- appname
- string
-
-
- MongoDB 3.4+ has the ability to annotate connections with metadata
- provided by the connecting client. This metadata is included in the
- server's logs upon establishing a connection and also recorded in
- slow query logs when database profiling is enabled.
-
-
- This option may be used to specify an application name, which will
- be included in the metadata. The value cannot exceed 128 characters
- in length.
-
-
-
-
- authMechanism
- string
-
-
- The authentication mechanism that MongoDB will use to authenticate
- the connection. For additional details and a list of supported
- values, see
- Authentication Options
- in the MongoDB manual.
-
-
-
-
- authMechanismProperties
- array
-
-
- Properties for the selected authentication mechanism. For additional
- details and a list of supported properties, see the
- Driver Authentication Specification.
-
-
-
- When not specified in the URI string, this option is expressed as
- an array of key/value pairs. The keys and values in this array
- should be strings.
-
-
-
-
-
- authSource
- string
-
-
- The database name associated with the user's credentials. Defaults
- to the database component of the connection URI, or the
- admin database if both are unspecified.
-
-
- For authentication mechanisms that delegate credential storage to
- other services (e.g. GSSAPI), this should be
- "$external".
-
-
-
-
- canonicalizeHostname
- bool
-
-
- If &true;, the driver will resolve the real hostname for the server
- IP address before authenticating via SASL. Some underlying GSSAPI
- layers already do this, but the functionality may be disabled in
- their config (e.g. krb.conf). Defaults to
- &false;.
-
-
- This option is a deprecated alias for the
- "CANONICALIZE_HOST_NAME" property of the
- "authMechanismProperties" URI option.
-
-
-
-
- compressors
- string
-
-
- A prioritized, comma-delimited list of compressors that the client
- wants to use. Messages are only compressed if the client and server
- share any compressors in common, and the compressor used in each
- direction will depend on the individual configuration of the server
- or driver. See the
- Driver Compression Specification
- for more information.
-
-
-
-
- connectTimeoutMS
- int
-
-
- The time in milliseconds to attempt a connection before timing out.
- Defaults to 10,000 milliseconds.
-
-
-
-
- directConnection
- bool
-
-
- This option can be used to control replica set discovery behavior
- when only a single host is provided in the connection string. By
- default, providing a single member in the connection string will
- establish a direct connection or discover additional members
- depending on whether the "replicaSet" URI option
- is omitted or present, respectively. Specify &false; to force
- discovery to occur (if "replicaSet" is omitted)
- or specify &true; to force a direct connection (if
- "replicaSet" is present).
-
-
-
-
- gssapiServiceName
- string
-
-
- Set the Kerberos service name when connecting to Kerberized MongoDB
- instances. This value must match the service name set on MongoDB
- instances (i.e.
- saslServiceName
- server parameter). Defaults to "mongodb".
-
-
- This option is a deprecated alias for the
- "SERVICE_NAME" property of the
- "authMechanismProperties" URI option.
-
-
-
-
- heartbeatFrequencyMS
- int
-
-
- Specifies the interval in milliseconds between the driver's checks
- of the MongoDB topology, counted from the end of the previous check
- until the beginning of the next one. Defaults to 60,000
- milliseconds.
-
-
- Per the
- Server Discovery and Monitoring Specification,
- this value cannot be less than 500 milliseconds.
-
-
-
-
- journal
- bool
-
-
- Corresponds to the default write concern's
- journal parameter. If &true;, writes will
- require acknowledgement from MongoDB that the operation has been
- written to the journal. For details, see
- MongoDB\Driver\WriteConcern.
-
-
-
-
- loadBalanced
- bool
-
-
- Specifies whether the driver is connecting to a MongoDB cluster
- through a load balancer. If &true;, the driver may only connect to a
- single host (specified by either the connection string or SRV
- lookup), the "directConnection" URI option
- cannot be &true;, and the "replicaSet" URI option
- must be omitted. Defaults to &false;.
-
-
-
-
- localThresholdMS
- int
-
-
- The size in milliseconds of the latency window for selecting among
- multiple suitable MongoDB instances while resolving a read
- preference. Defaults to 15 milliseconds.
-
-
-
-
- maxStalenessSeconds
- int
-
-
- Corresponds to the read preference's
- "maxStalenessSeconds". Specifies, in seconds, how
- stale a secondary can be before the client stops using it for read
- operations. By default, there is no maximum staleness and clients
- will not consider a secondary’s lag when choosing where to direct a
- read operation. For details, see
- MongoDB\Driver\ReadPreference.
-
-
- If specified, the max staleness must be a signed 32-bit integer
- greater than or equal to
- MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS
- (i.e. 90 seconds).
-
-
-
-
- password
- string
-
- The password for the user being authenticated. This option is useful
- if the password contains special characters, which would otherwise
- need to be URL encoded for the connection URI.
-
-
-
- readConcernLevel
- string
-
- Corresponds to the read concern's level
- parameter. Specifies the level of read isolation. For details, see
- MongoDB\Driver\ReadConcern.
-
-
-
- readPreference
- string
-
-
- Corresponds to the read preference's mode
- parameter. Defaults to "primary". For details,
- see MongoDB\Driver\ReadPreference.
-
-
-
-
- readPreferenceTags
- array
-
-
- Corresponds to the read preference's tagSets
- parameter. Tag sets allow you to target read operations to specific
- members of a replica set. For details, see
- MongoDB\Driver\ReadPreference.
-
-
-
- When not specified in the URI string, this option is expressed as
- an array consistent with the format expected by
- MongoDB\Driver\ReadPreference::__construct.
-
-
-
-
-
- replicaSet
- string
-
-
- Specifies the name of the replica set.
-
-
-
-
- retryReads
- bool
-
-
- Specifies whether or not the driver should automatically retry
- certain read operations that fail due to transient network errors
- or replica set elections. This functionality requires MongoDB 3.6+.
- Defaults to &true;.
-
-
- See the
- Retryable Reads Specification
- for more information.
-
-
-
-
- retryWrites
- bool
-
-
- Specifies whether or not the driver should automatically retry
- certain write operations that fail due to transient network errors
- or replica set elections. This functionality requires MongoDB 3.6+.
- Defaults to &true;.
-
-
- See
- Retryable Writes
- in the MongoDB manual for more information.
-
-
-
-
- safe
- bool
-
-
- If &true;, specifies 1 for the default write
- concern's w parameter. If &false;,
- 0 is specified. For details, see
- MongoDB\Driver\WriteConcern.
-
-
- This option is deprecated and should not be used.
-
-
-
-
- serverSelectionTimeoutMS
- int
-
-
- Specifies how long in milliseconds to block for server selection
- before throwing an exception. Defaults to 30,000 milliseconds.
-
-
-
-
- serverSelectionTryOnce
- bool
-
-
- When &true;, instructs the driver to scan the MongoDB deployment
- exactly once after server selection fails and then either select a
- server or raise an error. When &false;, the driver blocks and
- searches for a server up to the
- "serverSelectionTimeoutMS" value. Defaults to
- &true;.
-
-
-
-
- socketCheckIntervalMS
- int
-
-
- If a socket has not been used recently, the driver must check it via
- a hello command before using it for any
- operation. Defaults to 5,000 milliseconds.
-
-
-
-
- socketTimeoutMS
- int
-
-
- The time in milliseconds to attempt a send or receive on a socket
- before timing out. Defaults to 300,000 milliseconds (i.e. five
- minutes).
-
-
-
-
- srvMaxHosts
- int
-
-
- The maximum number of SRV results to randomly select when initially
- populating the seedlist or, during SRV polling, adding new hosts to
- the topology. Defaults to 0 (i.e. no maximum).
-
-
-
-
- srvServiceName
- string
-
-
- The service name to use for SRV lookup in initial DNS seedlist
- discovery and SRV polling. Defaults to "mongodb".
-
-
-
-
- ssl
- bool
-
-
- Initiates the connection with TLS/SSL if &true;. Defaults to
- &false;.
-
-
- This option is a deprecated alias for the "tls"
- URI option.
-
-
-
-
- tls
- bool
-
-
- Initiates the connection with TLS/SSL if &true;. Defaults to
- &false;.
-
-
-
-
- tlsAllowInvalidCertificates
- bool
-
-
- Specifies whether or not the driver should error when the server's
- TLS certificate is invalid. Defaults to &false;.
-
-
-
- Disabling certificate validation creates a vulnerability.
-
-
-
-
-
- tlsAllowInvalidHostnames
- bool
-
-
- Specifies whether or not the driver should error when there is a
- mismatch between the server's hostname and the hostname specified by
- the TLS certificate. Defaults to &false;.
-
-
-
- Disabling certificate validation creates a vulnerability. Allowing
- invalid hostnames may expose the driver to a
- man-in-the-middle attack.
-
-
-
-
-
- tlsCAFile
- string
-
-
- Path to file with either a single or bundle of certificate
- authorities to be considered trusted when making a TLS connection.
- The system certificate store will be used by default.
-
-
-
-
- tlsCertificateKeyFile
- string
-
-
- Path to the client certificate file or the client private key file;
- in the case that they both are needed, the files should be
- concatenated.
-
-
-
-
- tlsCertificateKeyFilePassword
- string
-
-
- Password to decrypt the client private key (i.e.
- "tlsCertificateKeyFile" URI option) to be used
- for TLS connections.
-
-
-
-
- tlsDisableCertificateRevocationCheck
- bool
-
-
- If &true;, the driver will not attempt to check certificate
- revocation status (e.g. OCSP, CRL). Defaults to &false;.
-
-
-
-
- tlsDisableOCSPEndpointCheck
- bool
-
-
- If &true;, the driver will not attempt to contact an OCSP responder
- endpoint if needed (i.e. an OCSP response is not stapled). Defaults
- to &false;.
-
-
-
-
- tlsInsecure
- bool
-
-
- Relax TLS constraints as much as possible. Specifying &true; for
- this option has the same effect as specifying &true; for both the
- "tlsAllowInvalidCertificates" and
- "tlsAllowInvalidHostnames" URI options. Defaults
- to &false;.
-
-
-
- Disabling certificate validation creates a vulnerability. Allowing
- invalid hostnames may expose the driver to a
- man-in-the-middle attack.
-
-
-
-
-
- username
- string
-
- The username for the user being authenticated. This option is useful
- if the username contains special characters, which would otherwise
- need to be URL encoded for the connection URI.
-
-
-
- w
- intstring
-
-
- Corresponds to the default write concern's w
- parameter. For details, see
- MongoDB\Driver\WriteConcern.
-
-
-
-
- wTimeoutMS
- intstring
-
-
- Corresponds to the default write concern's
- wtimeout parameter. Specifies a time limit,
- in milliseconds, for the write concern. For details, see
- MongoDB\Driver\WriteConcern.
-
-
- If specified, wTimeoutMS must be a signed 32-bit
- integer greater than or equal to zero.
-
-
-
-
- zlibCompressionLevel
- int
-
-
- Specifies the compression level to use for the zlib compressor. This
- option has no effect if zlib is not included in
- the "compressors" URI option. See the
- Driver Compression Specification
- for more information.
-
-
-
-
-
-
-
-
-
-
- driverOptions
-
-
-
- driverOptions
-
-
-
- Option
- Type
- Description
-
-
-
-
- allow_invalid_hostname
- bool
-
-
- Disables hostname validation if &true;. Defaults to &false;.
-
-
- Allowing invalid hostnames may expose the driver to a
- man-in-the-middle attack.
-
-
- This option is a deprecated alias for the
- "tlsAllowInvalidHostnames" URI option.
-
-
-
-
- autoEncryption
- array
-
-
- Provides options to enable automatic client-side field level encryption.
- The following options are supported:
-
-
- Options for automatic encryption
-
-
-
- Option
- Type
- Description
-
-
-
- &mongodb.option.encryption.keyVaultClient;
- &mongodb.option.encryption.keyVaultNamespace;
- &mongodb.option.encryption.kmsProviders;
- &mongodb.option.encryption.tlsOptions;
-
- schemaMap
- array
-
-
- Allows specifying a local JSON schema that is used to configure encryption.
-
-
-
- Supplying a schemaMap provides more
- security than relying on JSON schemas obtained from the
- server. It protects against a malicious server advertising a
- false JSON schema, which could trick the client into sending
- unencrypted data that should be encrypted.
-
-
-
-
- Schemas supplied in the schemaMap only
- apply to configuring automatic encryption for client side
- encryption. Other validation rules in the JSON schema will
- not be enforced by the driver and will result in an error.
-
-
-
-
-
- bypassAutoEncryption
- bool
-
- With this option set to &true;, mongocryptd
- will not be spawned automatically. This is used to disable
- automatic encryption.
-
-
-
- extraOptions
- array
-
-
- The extraOptions relate to the
- mongocryptd process. The following options
- are supported:
-
-
-: {
- mongocryptdURI: , // Defaults to "mongodb://localhost:27027"
- mongocryptdBypassSpawn: , // Defaults to false
- mongocryptdSpawnPath: , // Defaults to empty string and uses default system paths
- mongocryptdSpawnArgs: // Defaults to [ "--idleShutdownTimeoutSecs=60" ]
-}
-]]>
-
-
- See the Client-Side Encryption Specification for more information.
-
-
-
-
-
-
-
-
-
-
- Automatic encryption is an enterprise only feature that only
- applies to operations on a collection. Automatic encryption is not
- supported for operations on a database or view, and operations that
- are not bypassed will result in error. To bypass automatic
- encryption for all operations, set bypassAutoEncryption=true
- in autoEncryption. For more information on
- allowed operations, see the
- Client-Side Encryption Specification.
-
-
-
-
-
- ca_dir
- string
-
-
- Path to a correctly hashed certificate directory. The system
- certificate store will be used by default.
-
-
-
-
- ca_file
- string
-
-
- Path to file with either a single or bundle of certificate
- authorities to be considered trusted when making a TLS connection.
- The system certificate store will be used by default.
-
-
- This option is a deprecated alias for the
- "tlsCAFile" URI option.
-
-
-
-
- context
- resource
-
-
- SSL context options to be used as
- fallbacks if a driver option or its equivalent URI option, if any,
- is not specified. Note that the driver does not consult the default
- stream context (i.e.
- stream_context_get_default). The following
- context options are supported:
-
-
-
-
- This option is supported for backwards compatibility, but should be
- considered deprecated.
-
-
-
-
- crl_file
- string
- Path to a certificate revocation list file.
-
-
- disableClientPersistence
- bool
-
-
- If &true;, this Manager will use a new libmongoc client, which will
- not be persisted or shared with other Manager objects. When this
- Manager object is freed, its client will be destroyed and any
- connections will be closed. Defaults to &false;.
-
-
-
- Disabling client persistence is not generally recommended.
-
-
-
-
-
- driver
- array
-
-
- Allows custom drivers to append their own metadata to the server
- handshake. By default, the driver submits its own name, version, and
- platform (i.e. PHP version) in the handshake. Custom drivers can
- specify strings for the "name",
- "version", and
- "platform" keys of this array, which will be
- appended to the respective field(s) in the handshake document.
-
-
-
- Handshake information is limited to 512 bytes. The driver will
- truncate handshake data to fit within this 512-byte string. Drivers
- and ODMs are encouraged to keep their own metadata concise.
-
-
-
-
-
- pem_file
- string
-
-
- Path to a PEM encoded certificate to use for client authentication.
-
-
- This option is a deprecated alias for the
- "tlsCertificateKeyFile" URI option.
-
-
-
-
- pem_pwd
- string
-
-
- Passphrase for the PEM encoded certificate (if applicable).
-
-
- This option is a deprecated alias for the
- "tlsCertificateKeyFilePassword" URI option.
-
-
-
-
- serverApi
- MongoDB\Driver\ServerApi
-
-
- This option is used to declare a server API version for the manager.
- If omitted, no API version is declared.
-
-
-
-
- weak_cert_validation
- bool
-
-
- Disables certificate validation if &true;. Defaults to &false;
-
-
- This option is a deprecated alias for the
- "tlsAllowInvalidCertificates" URI option.
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\RuntimeException if the uri format is invalid
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.13.0
-
-
- Added the "srvMaxHosts" and
- "srvServiceName" URI options.
-
-
-
-
- PECL mongodb 1.12.0
-
-
- KMIP is now supported as a KMS provider for client-side encryption and
- may be configured in the "kmsProviders" field of the
- "autoEncryption" driver option. Additionally, TLS
- options for KMS providers may now be configured in the
- "tlsOptions" field of the
- "autoEncryption" driver option.
-
-
-
-
- PECL mongodb 1.11.0
-
-
- Added the "loadBalanced" URI option.
-
-
-
-
- PECL mongodb 1.10.0
-
-
- Added the "disableClientPersistence" driver option.
-
-
- Azure and GCP are now supported as KMS providers for client-side
- encryption and may be configured in the
- "kmsProviders" field of the
- "autoEncryption" driver option. Base64-encoded
- strings are now accepted as an alternative to
- MongoDB\BSON\Binary for options within
- "kmsProviders".
-
-
-
-
- PECL mongodb 1.8.0
-
-
- Added the "directConnection",
- "tlsDisableCertificateRevocationCheck", and
- "tlsDisableOCSPEndpointCheck" URI options.
-
-
- Added the "driver" driver option.
-
-
-
-
- PECL mongodb 1.7.0
-
-
- Added the "autoEncryption" driver option.
-
-
- Specifying any SSL or TLS option via the driverOptions
- parameter will now implicitly enable TLS, as is done for the
- corresponding URI options.
-
-
-
-
- PECL mongodb 1.6.0
-
-
- Added the "retryReads", "tls",
- "tlsAllowInvalidCertificates",
- "tlsAllowInvalidHostnames",
- "tlsCAFile",
- "tlsCertificateKeyFile",
- "tlsCertificateKeyFilePassword", and
- "tlsInsecure" URI options.
-
-
- The "retryWrites" URI option defaults to &true;.
-
-
- Specifying any SSL or TLS URI option via the connection string or
- uriOptions parameter will now implicitly enable
- TLS unless ssl or tls is &false;.
- TLS is not implicitly enabled for any options in
- the driverOptions parameter, which is unchanged
- from previous versions.
-
-
-
-
- PECL mongodb 1.5.0
-
-
- "wtimeoutMS" is now always validated and applied to
- the write concern. Previously, the option was ignored if
- "w" was <= 1, since the timeout only applies to
- replication.
-
-
-
-
- PECL mongodb 1.4.0
-
-
- Added the "compressors",
- "retryWrites", and
- "zlibCompressionLevel" URI options.
-
-
-
-
- PECL mongodb 1.3.0
-
-
- The uriOptions argument now accepts
- "authMechanism" and
- "authMechanismProperties" options. Previously, these
- options were only supported in the uri argument.
-
-
-
-
- PECL mongodb 1.2.0
-
-
- The uri argument defaults to
- "mongodb://127.0.0.1/". The default port remains
- 27017.
-
-
- Added the "appname" URI option.
-
-
- Added the "allow_invalid_hostname",
- "ca_file", "ca_dir",
- "clr_file", "pem_file",
- "pem_pwd", and
- "weak_cert_validation" driver options.
-
-
- The PHP Streams API is no longer used for socket communication. The
- "connectTimeoutMS" URI option now defaults to 10
- seconds instead of
- default_socket_timeout
- in previous versions. Additionally, the driver no longer supports all
- SSL context options via the
- "context" driver option.
-
-
-
-
- PECL mongodb 1.1.0
-
-
- The uri argument is optional and defaults to
- "mongodb://localhost:27017/".
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::__construct basic examples
- Connecting to standalone MongoDB node:
-
-
-]]>
-
-
- Connecting to standalone MongoDB node via a Unix domain socket. The socket
- path may include special characters such as slashes and should be encoded
- with rawurlencode.
-
-
-
-]]>
-
- Connecting to a replica set:
-
-
-]]>
-
- Connecting to a sharded cluster (i.e. one or more mongos instances):
-
-
-]]>
-
- Connecting to MongoDB with authentication credentials for a particular user and database:
-
-
-]]>
-
-
-
- Connecting to MongoDB with authentication credentials for a particular
- user and database, where the username or password includes special
- characters (e.g. @, :,
- %). In the following example, the password string
- myp@ss:w%rd has been manually escaped; however,
- rawurlencode may also be used to escape URI components
- that may contain special characters.
-
-
-
-]]>
-
-
- Connecting to MongoDB with X509 authentication:
-
- "/path/to/client.pem",
- ]
-);
-?>
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
- Connection handling and persistence
- MongoDB Connection String Format
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/createclientencryption.xml b/reference/mongodb/mongodb/driver/manager/createclientencryption.xml
deleted file mode 100644
index ea8bf85ff..000000000
--- a/reference/mongodb/mongodb/driver/manager/createclientencryption.xml
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::createClientEncryption
- Create a new ClientEncryption object
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ClientEncryptionMongoDB\Driver\Manager::createClientEncryption
- arrayoptions
-
-
- Constructs a new MongoDB\Driver\ClientEncryption object with the specified options.
-
-
-
-
- &reftitle.parameters;
-
-
- options
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a new MongoDB\Driver\ClientEncryption instance.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\RuntimeException if the extension was compiled without libmongocrypt support
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.12.0
-
-
- KMIP is now supported as a KMS provider for client-side encryption and
- may be configured in the "kmsProviders" option.
-
-
- Added the "tlsOptions" option.
-
-
-
-
- PECL mongodb 1.10.0
-
- Azure and GCP are now supported as KMS providers for client-side
- encryption and may be configured in the
- "kmsProviders" option. Base64-encoded strings are now
- accepted as an alternative to MongoDB\BSON\Binary
- for options within "kmsProviders".
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ClientEncryption
- Explicit (Manual) Client-Side Field Level Encryption in the MongoDB manual
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml b/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
deleted file mode 100644
index 2fd29be86..000000000
--- a/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::executeBulkWrite
- Execute one or more write operations
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteResultMongoDB\Driver\Manager::executeBulkWrite
- stringnamespace
- MongoDB\Driver\BulkWritebulk
- arrayoptionsarray()
-
-
- Executes one or more write operations on the primary server.
-
-
- A MongoDB\Driver\BulkWrite can be constructed with
- one or more write operations of varying types (e.g. updates, deletes, and
- inserts). The driver will attempt to send operations of the same type to the
- server in as few requests as possible to optimize round trips.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.namespace;
- &mongodb.parameter.bulkwrite;
-
- options
-
-
-
-
- &mongodb.option.transactionReadWriteConcern;
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.cursor;
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.session-readwriteconcern;
- &mongodb.throws.session-unacknowledged;
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid command, issuing a write command to a secondary).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.4
-
- MongoDB\Driver\Exception\InvalidArgumentException
- will be thrown if the "session" option is used in
- combination with an unacknowledged write concern.
-
-
-
- PECL mongodb 1.4.0
-
- The third parameter is now an options array.
- For backwards compatibility, this paramater will still accept a
- MongoDB\Driver\ReadPreference object.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::executeCommand with a command returning a single result document
-
- 1]);
-
-try {
- $cursor = $manager->executeCommand('admin', $command);
-} catch(MongoDB\Driver\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-
-/* The ping command returns a single result document, so we need to access the
- * first result in the cursor. */
-$response = $cursor->toArray()[0];
-
-var_dump($response);
-
-?>
-]]>
-
- &example.outputs;
-
-
- float(1)
-}
-]]>
-
-
-
- MongoDB\Driver\Manager::executeCommand with a command returning a cursor
-
-insert(['x' => 1, 'y' => 'foo']);
-$bulk->insert(['x' => 2, 'y' => 'bar']);
-$bulk->insert(['x' => 3, 'y' => 'bar']);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$command = new MongoDB\Driver\Command([
- 'aggregate' => 'collection',
- 'pipeline' => [
- ['$group' => ['_id' => '$y', 'sum' => ['$sum' => '$x']]],
- ],
- 'cursor' => new stdClass,
-]);
-$cursor = $manager->executeCommand('db', $command);
-
-/* The aggregate command can optionally return its results in a cursor instead
- * of a single result document. In this case, we can iterate on the cursor
- * directly to access those results. */
-foreach ($cursor as $document) {
- var_dump($document);
-}
-
-?>
-]]>
-
- &example.outputs;
-
-
- string(3) "bar"
- ["sum"]=>
- int(10)
-}
-object(stdClass)#7 (2) {
- ["_id"]=>
- string(3) "foo"
- ["sum"]=>
- int(2)
-}
-]]>
-
-
-
-
- Limiting execution time for a command
-
- The execution time of a command may be limited by specifying a value for
- "maxTimeMS" in the
- MongoDB\Driver\Command document. Note that this time
- limit is enforced on the server side and does not take network latency into
- account. See
- Terminate Running Operations
- in the MongoDB manual for more information.
-
-
- 'collection',
- 'query' => ['x' => ['$gt' => 1]],
- 'maxTimeMS' => 1000,
-]);
-
-$cursor = $manager->executeCommand('db', $command);
-
-var_dump($cursor->toArray()[0]);
-
-?>
-]]>
-
-
- If the command fails to complete after one second of execution time on the
- server, a
- MongoDB\Driver\Exception\ExecutionTimeoutException
- will be thrown.
-
-
-
-
-
- &reftitle.notes;
-
-
- If a secondary readPreference is used, it is the
- caller's responsibility to ensure that the
- command can be executed on a secondary. No validation
- is done by the driver.
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Command
- MongoDB\Driver\Cursor
- MongoDB\Driver\Manager::executeReadCommand
- MongoDB\Driver\Manager::executeReadWriteCommand
- MongoDB\Driver\Manager::executeWriteCommand
- MongoDB\Driver\Server::executeCommand
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/executequery.xml b/reference/mongodb/mongodb/driver/manager/executequery.xml
deleted file mode 100644
index eba4f66b4..000000000
--- a/reference/mongodb/mongodb/driver/manager/executequery.xml
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::executeQuery
- Execute a database query
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\CursorMongoDB\Driver\Manager::executeQuery
- stringnamespace
- MongoDB\Driver\Queryquery
- arrayoptionsarray()
-
-
- Selects a server according to the "readPreference" option
- and executes the query on that server. By default, the read preference from
- the MongoDB Connection
- URI will be used.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.namespace;
- &mongodb.parameter.query;
-
- options
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.cursor;
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid query operators).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.0
-
- The third parameter is now an options array.
- For backwards compatibility, this paramater will still accept a
- MongoDB\Driver\ReadPreference object.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::executeQuery example
-
-insert(['x' => 1]);
-$bulk->insert(['x' => 2]);
-$bulk->insert(['x' => 3]);
-$manager->executeBulkWrite('db.collection', $bulk);
-
-$filter = ['x' => ['$gt' => 1]];
-$options = [
- 'projection' => ['_id' => 0],
- 'sort' => ['x' => -1],
-];
-
-$query = new MongoDB\Driver\Query($filter, $options);
-$cursor = $manager->executeQuery('db.collection', $query);
-
-foreach ($cursor as $document) {
- var_dump($document);
-}
-
-?>
-]]>
-
- &example.outputs;
-
-
- int(3)
-}
-object(stdClass)#7 (1) {
- ["x"]=>
- int(2)
-}
-]]>
-
-
-
-
- Limiting execution time for a query
-
- The "maxTimeMS"
- MongoDB\Driver\Query option may be used to limit the
- execution time of a query. Note that this time limit is enforced on the
- server side and does not take network latency into account. See
- Terminate Running Operations
- in the MongoDB manual for more information.
-
-
- ['$gt' => 1]];
-$options = [
- 'maxTimeMS' => 1000,
-];
-
-$query = new MongoDB\Driver\Query($filter, $options);
-$cursor = $manager->executeQuery('db.collection', $query);
-
-foreach ($cursor as $document) {
- var_dump($document);
-}
-
-?>
-]]>
-
-
- If the query fails to complete after one second of execution time on the
- server, a
- MongoDB\Driver\Exception\ExecutionTimeoutException
- will be thrown.
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Cursor
- MongoDB\Driver\Query
- MongoDB\Driver\ReadPreference
- MongoDB\Driver\Server::executeQuery
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/executereadcommand.xml b/reference/mongodb/mongodb/driver/manager/executereadcommand.xml
deleted file mode 100644
index a64fe07cc..000000000
--- a/reference/mongodb/mongodb/driver/manager/executereadcommand.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::executeReadCommand
- Execute a database command that reads
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\CursorMongoDB\Driver\Manager::executeReadCommand
- stringdb
- MongoDB\Driver\Commandcommand
- arrayoptionsarray()
-
-
- Selects a server according to the "readPreference" option
- and executes the command on that server. By default, the read preference from
- the MongoDB Connection
- URI will be used.
-
-
- This method will apply logic that is specific to commands that read (e.g.
- count)
- and take the MongoDB server version into account. The
- "readConcern" option will default to the corresponding
- value from the MongoDB
- Connection URI.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.db;
- &mongodb.parameter.command;
-
- options
-
-
-
-
- &mongodb.option.transactionReadWriteConcern;
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.cursor;
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.session-readwriteconcern;
- &mongodb.throws.session-unacknowledged;
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid command).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.4
-
- MongoDB\Driver\Exception\InvalidArgumentException
- will be thrown if the "session" option is used in
- combination with an unacknowledged write concern.
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Command
- MongoDB\Driver\Cursor
- MongoDB\Driver\Manager::executeCommand
- MongoDB\Driver\Manager::executeReadCommand
- MongoDB\Driver\Manager::executeReadWriteCommand
- MongoDB\Driver\Server::executeWriteCommand
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/getreadconcern.xml b/reference/mongodb/mongodb/driver/manager/getreadconcern.xml
deleted file mode 100644
index 84bdbbd59..000000000
--- a/reference/mongodb/mongodb/driver/manager/getreadconcern.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::getReadConcern
- Return the ReadConcern for the Manager
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ReadConcernMongoDB\Driver\Manager::getReadConcern
-
-
-
- Returns the MongoDB\Driver\ReadConcern for the
- Manager, which is derived from its URI options. This is the default read
- concern for queries and commands executed on the Manager.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The MongoDB\Driver\ReadConcern for the Manager.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::getReadConcern example
-
-getReadConcern());
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017/?readConcernLevel=local');
-var_dump($manager->getReadConcern());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(5) "local"
-}
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadConcern
- MongoDB\Driver\Manager::__construct
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/getreadpreference.xml b/reference/mongodb/mongodb/driver/manager/getreadpreference.xml
deleted file mode 100644
index 2294ee0a7..000000000
--- a/reference/mongodb/mongodb/driver/manager/getreadpreference.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::getReadPreference
- Return the ReadPreference for the Manager
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ReadPreferenceMongoDB\Driver\Manager::getReadPreference
-
-
-
- Returns the MongoDB\Driver\ReadPreference for the
- Manager, which is derived from its URI options. This is the default read
- preference for queries and commands executed on the Manager.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The MongoDB\Driver\ReadPreference for the Manager.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::getReadPreference example
-
-getReadPreference());
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017/?readPreference=secondaryPreferred&readPreferenceTags=dc:ny,rack:1&readPreferenceTags=dc:ny&readPreferenceTags=');
-var_dump($manager->getReadPreference());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(7) "primary"
-}
-object(MongoDB\Driver\ReadPreference)#1 (2) {
- ["mode"]=>
- string(18) "secondaryPreferred"
- ["tags"]=>
- array(3) {
- [0]=>
- object(stdClass)#3 (2) {
- ["dc"]=>
- string(2) "ny"
- ["rack"]=>
- string(1) "1"
- }
- [1]=>
- object(stdClass)#4 (1) {
- ["dc"]=>
- string(2) "ny"
- }
- [2]=>
- object(stdClass)#5 (0) {
- }
- }
-}
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadPreference
- MongoDB\Driver\Manager::__construct
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/getservers.xml b/reference/mongodb/mongodb/driver/manager/getservers.xml
deleted file mode 100644
index 9259dc9cb..000000000
--- a/reference/mongodb/mongodb/driver/manager/getservers.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::getServers
- Return the servers to which this manager is connected
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\Manager::getServers
-
-
-
- Returns an array of MongoDB\Driver\Server
- instances to which this manager is connected.
-
-
-
- Since the driver connects to the database lazily, this method may return an
- empty array if called before executing an operation on the
- MongoDB\Driver\Manager.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of MongoDB\Driver\Server
- instances to which this manager is connected.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::getServers example
-
-getServers());
-
-$command = new MongoDB\Driver\Command(['ping' => 1]);
-$manager->executeCommand('db', $command);
-
-var_dump($manager->getServers());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\Driver\Server)#3 (10) {
- ["host"]=>
- string(9) "localhost"
- ["port"]=>
- int(27017)
- ["type"]=>
- int(1)
- ["is_primary"]=>
- bool(false)
- ["is_secondary"]=>
- bool(false)
- ["is_arbiter"]=>
- bool(false)
- ["is_hidden"]=>
- bool(false)
- ["is_passive"]=>
- bool(false)
- ["last_hello_response"]=>
- array(8) {
- ["isWritablePrimary"]=>
- bool(true)
- ["maxBsonObjectSize"]=>
- int(16777216)
- ["maxMessageSizeBytes"]=>
- int(48000000)
- ["maxWriteBatchSize"]=>
- int(1000)
- ["localTime"]=>
- object(MongoDB\BSON\UTCDateTime)#4 (1) {
- ["milliseconds"]=>
- int(1447267964517)
- }
- ["maxWireVersion"]=>
- int(3)
- ["minWireVersion"]=>
- int(0)
- ["ok"]=>
- float(1)
- }
- ["round_trip_time"]=>
- int(554)
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server
- MongoDB\Driver\Manager::selectServer
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/getwriteconcern.xml b/reference/mongodb/mongodb/driver/manager/getwriteconcern.xml
deleted file mode 100644
index ac494d9e5..000000000
--- a/reference/mongodb/mongodb/driver/manager/getwriteconcern.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::getWriteConcern
- Return the WriteConcern for the Manager
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteConcernMongoDB\Driver\Manager::getWriteConcern
-
-
-
- Returns the MongoDB\Driver\WriteConcern for the
- Manager, which is derived from its URI options. This is the default write
- concern for writes and commands executed on the Manager.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The MongoDB\Driver\WriteConcern for the Manager.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Manager::getWriteConcern example
-
-getWriteConcern());
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017/?w=majority&wtimeoutMS=2000');
-var_dump($manager->getWriteConcern());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(8) "majority"
- ["wtimeout"]=>
- int(2000)
-}
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteConcern
- MongoDB\Driver\Manager::__construct
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/removesubscriber.xml b/reference/mongodb/mongodb/driver/manager/removesubscriber.xml
deleted file mode 100644
index c3bd4ef24..000000000
--- a/reference/mongodb/mongodb/driver/manager/removesubscriber.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::removeSubscriber
- Unregisters a monitoring event subscriber with this Manager
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Manager::removeSubscriber
- MongoDB\Driver\Monitoring\Subscribersubscriber
-
-
- Unregisters a monitoring event subscriber with this Manager.
-
-
-
- If subscriber is not already registered with this
- Manager, this function is a no-op.
-
-
-
-
-
- &reftitle.parameters;
-
-
- subscriber (MongoDB\Driver\Monitoring\Subscriber)
-
-
- A monitoring event subscriber to unregister with this Manager.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::addSubscriber
- MongoDB\Driver\Monitoring\Subscriber
- MongoDB\Driver\Monitoring\CommandSubscriber
- MongoDB\Driver\Monitoring\removeSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/selectserver.xml b/reference/mongodb/mongodb/driver/manager/selectserver.xml
deleted file mode 100644
index ff1f6258c..000000000
--- a/reference/mongodb/mongodb/driver/manager/selectserver.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::selectServer
- Select a server matching a read preference
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\Manager::selectServer
- MongoDB\Driver\ReadPreferencenullreadPreference&null;
-
-
- Selects a MongoDB\Driver\Server matching
- readPreference. If
- readPreference is &null; or omitted, the primary
- server will be selected by default. This may be used to preselect a server in
- order to perform version checking before executing an operation.
-
-
-
- Unlike MongoDB\Driver\Manager::getServers, this method
- will initialize database connections and perform server discovery if
- necessary. See the
- Server Selection Specification
- for additional information.
-
-
-
-
-
- &reftitle.parameters;
-
-
- readPreference (MongoDB\Driver\ReadPreference)
-
-
- The read preference to use for selecting a server. If &null; or omitted,
- the primary server will be selected by default.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a MongoDB\Driver\Server matching the read
- preference.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException if a server matching the read preference could not be found.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
- The readPreference is now optional. If &null; or
- omitted, the primary server will be selected by default.
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server
- MongoDB\Driver\Manager::getServers
- Server Selection Specification
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/manager/startsession.xml b/reference/mongodb/mongodb/driver/manager/startsession.xml
deleted file mode 100644
index 54ffd324c..000000000
--- a/reference/mongodb/mongodb/driver/manager/startsession.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Manager::startSession
- Start a new client session for use with this client
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\SessionMongoDB\Driver\Manager::startSession
- arrayoptions
-
-
- Creates a MongoDB\Driver\Session for the given
- options. The session may then be specified when executing commands, queries,
- and write operations.
-
-
-
- A MongoDB\Driver\Session can only be used with the
- MongoDB\Driver\Manager from which it was created.
-
-
-
-
-
- &reftitle.parameters;
-
-
- options
-
-
-
- options
-
-
-
- Option
- Type
- Description
- Default
-
-
-
-
- causalConsistency
- bool
-
-
- Configure causal consistency in a session. If &true;, each operation
- in the session will be causally ordered after the previous read or
- write operation. Set to &false; to disable causal consistency.
-
-
- See
- Casual Consistency
- in the MongoDB manual for more information.
-
-
- &true;
-
-
- defaultTransactionOptions
- array
-
-
- Default options to apply to newly created transactions. These
- options are used unless they are overridden when a transaction is
- started with different value for each option.
-
-
-
-
-
- This option is available in MongoDB 4.0+.
-
-
- []
-
-
- snapshot
- bool
-
-
- Configure snapshot reads in a session. If &true;, a timestamp will
- be obtained from the first supported read operation in the session
- (i.e. find, aggregate, or
- unsharded distinct). Subsequent read operations
- within the session will then utilize a "snapshot"
- read concern level to read majority-committed data from that
- timestamp. Set to &false; to disable snapshot reads.
-
-
- Snapshot reads require MongoDB 5.0+ and cannot be used with causal
- consistency, transactions, or write operations. If
- "snapshot" is &true;,
- "causalConsistency" will default to &false;.
-
-
- See
- Read Concern "snapshot"
- in the MongoDB manual for more information.
-
-
- &false;
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a MongoDB\Driver\Session.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the "causalConsistency" and "snapshot" options are both &true;.
- Throws MongoDB\Driver\Exception\RuntimeException if the session could not be created (e.g. libmongoc does not support crypto).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
-
- The "snapshot" option was added.
-
-
-
-
- PECL mongodb 1.6.0
-
-
- The "maxCommitTimeMS" option was added to
- "defaultTransactionOptions".
-
-
-
-
- PECL mongodb 1.5.0
-
-
- The "defaultTransactionOptions" option was added.
-
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session
- Casual Consistency in the MongoDB manual
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml
deleted file mode 100644
index 529e61e1b..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\CommandFailedEvent class
- MongoDB\Driver\Monitoring\CommandFailedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\CommandFailedEvent
- class encapsulates information about a failed command.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\CommandFailedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.commandfailedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getcommandname.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getcommandname.xml
deleted file mode 100644
index 46ae7fff2..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getcommandname.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName
- Returns the command name
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandFailedEvent::getCommandName
-
-
-
- Returns the command name (e.g. "find",
- "aggregate").
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command name.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getdurationmicros.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getdurationmicros.xml
deleted file mode 100644
index 37925ac23..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getdurationmicros.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getDurationMicros
- Returns the command's duration in microseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\CommandFailedEvent::getDurationMicros
-
-
-
- The command's duration is a calculated value that includes the time to send
- the message and receive the reply from the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's duration in microseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/geterror.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/geterror.xml
deleted file mode 100644
index 139ff1d3d..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/geterror.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getError
- Returns the Exception associated with the failed command
-
-
-
- &reftitle.description;
-
- finalpublicExceptionMongoDB\Driver\Monitoring\CommandFailedEvent::getError
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the Exception associated with the failed command.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml
deleted file mode 100644
index a3288152c..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId
- Returns the command's operation ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId
-
-
-
- The operation ID is generated by the driver and may be used to link events
- together such as bulk write operations, which may have been split across
- several commands at the protocol level.
-
-
-
- Since multiple commands may share the same operation ID, it is not reliable
- to use this value to associate event objects with each other. The request ID
- returned by
- MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
- should be used instead.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's operation ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
- MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getreply.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getreply.xml
deleted file mode 100644
index 25f535a4a..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getreply.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getReply
- Returns the command reply document
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Monitoring\CommandFailedEvent::getReply
-
-
-
- The reply document will be converted from BSON to PHP using the default
- deserialization
- rules (e.g. BSON documents will be converted to stdClass).
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command reply document as a stdClass
- object.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getrequestid.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getrequestid.xml
deleted file mode 100644
index 07ee98f00..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getrequestid.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
- Returns the command's request ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
-
-
-
- The request ID is generated by the driver and may be used to associate this
- MongoDB\Driver\Monitoring\CommandFailedEvent with a
- previous
- MongoDB\Driver\Monitoring\CommandStartedEvent.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's request ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserver.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserver.xml
deleted file mode 100644
index b7fdf5dc6..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserver.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getServer
- Returns the Server on which the command was executed
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\Monitoring\CommandFailedEvent::getServer
-
-
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getServer
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserviceid.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserviceid.xml
deleted file mode 100644
index f6a76b2f8..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserviceid.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getServiceId
- Returns the load balancer service ID for the command
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdnullMongoDB\Driver\Monitoring\CommandFailedEvent::getServiceId
-
-
-
- When the driver is connected to a MongoDB cluster through a load balancer,
- the service ID corresponds to the serviceId field in the
- hello command response.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the load balancer service ID, or &null; if the driver is not
- connected to a load balancer.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml
deleted file mode 100644
index e2b7974bf..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\CommandStartedEvent class
- MongoDB\Driver\Monitoring\CommandStartedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\CommandStartedEvent
- class encapsulates information about a started command.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\CommandStartedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.commandstartedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommand.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommand.xml
deleted file mode 100644
index 4399603fc..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommand.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getCommand
- Returns the command document
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Monitoring\CommandStartedEvent::getCommand
-
-
-
- The reply document will be converted from BSON to PHP using the default
- deserialization
- rules (e.g. BSON documents will be converted to stdClass).
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command document as a stdClass object.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommandname.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommandname.xml
deleted file mode 100644
index d414faa4b..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getcommandname.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
- Returns the command name
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandStartedEvent::getCommandName
-
-
-
- Returns the command name (e.g. "find",
- "aggregate").
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command name.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getdatabasename.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getdatabasename.xml
deleted file mode 100644
index f9acee2d1..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getdatabasename.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName
- Returns the database on which the command was executed
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandStartedEvent::getDatabaseName
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the database on which the command was executed.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml
deleted file mode 100644
index e02e35786..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
- Returns the command's operation ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
-
-
-
- The operation ID is generated by the driver and may be used to link events
- together such as bulk write operations, which may have been split across
- several commands at the protocol level.
-
-
-
- Since multiple commands may share the same operation ID, it is not reliable
- to use this value to associate event objects with each other. The request ID
- returned by
- MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
- should be used instead.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's operation ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getOperationId
- MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getrequestid.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getrequestid.xml
deleted file mode 100644
index 10257bd17..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getrequestid.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
- Returns the command's request ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
-
-
-
- The request ID is generated by the driver and may be used to associate this
- MongoDB\Driver\Monitoring\CommandStartedEvent with a
- later
- MongoDB\Driver\Monitoring\CommandFailedEvent or
- MongoDB\Driver\Monitoring\CommandSucceededEvent.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's request ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserver.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserver.xml
deleted file mode 100644
index 5149c6f4d..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserver.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getServer
- Returns the Server on which the command was executed
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\Monitoring\CommandStartedEvent::getServer
-
-
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandFailedEvent::getServer
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserviceid.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserviceid.xml
deleted file mode 100644
index 9e672ed2e..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserviceid.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getServiceId
- Returns the load balancer service ID for the command
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdnullMongoDB\Driver\Monitoring\CommandStartedEvent::getServiceId
-
-
-
- When the driver is connected to a MongoDB cluster through a load balancer,
- the service ID corresponds to the serviceId field in the
- hello command response.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the load balancer service ID, or &null; if the driver is not
- connected to a load balancer.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber.xml b/reference/mongodb/mongodb/driver/monitoring/commandsubscriber.xml
deleted file mode 100644
index 7a32a6fa2..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\CommandSubscriber interface
- MongoDB\Driver\Monitoring\CommandSubscriber
-
-
-
-
-
- &reftitle.intro;
-
- Classes may implement this interface to register an event subscriber that is
- notified for each started, successful, and failed command event. See
- for additional information.
-
-
-
-
-
- &reftitle.interfacesynopsis;
-
-
-
- MongoDB\Driver\Monitoring\CommandSubscriber
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSubscriber
-
-
-
- MongoDB\Driver\Monitoring\Subscriber
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.commandsubscriber;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandfailed.xml b/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandfailed.xml
deleted file mode 100644
index e1f0b96a4..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandfailed.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed
- Notification method for a failed command
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\CommandSubscriber::commandFailed
- MongoDB\Driver\Monitoring\CommandFailedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a command has failed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\CommandFailedEvent)
-
-
- An event object encapsulating information about the failed command.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandFailedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandstarted.xml b/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandstarted.xml
deleted file mode 100644
index 54b02e544..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandstarted.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted
- Notification method for a started command
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\CommandSubscriber::commandStarted
- MongoDB\Driver\Monitoring\CommandStartedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a command has started.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\CommandStartedEvent)
-
-
- An event object encapsulating information about the started command.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandsucceeded.xml b/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandsucceeded.xml
deleted file mode 100644
index 399e5324b..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandsucceeded.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded
- Notification method for a successful command
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded
- MongoDB\Driver\Monitoring\CommandSucceededEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a command has succeeded.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\CommandSucceededEvent)
-
-
- An event object encapsulating information about the successful command.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml
deleted file mode 100644
index 671ac028f..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\CommandSucceededEvent class
- MongoDB\Driver\Monitoring\CommandSucceededEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\CommandSucceededEvent
- class encapsulates information about a successful command.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.commandsucceededevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getcommandname.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getcommandname.xml
deleted file mode 100644
index 1162657d9..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getcommandname.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName
- Returns the command name
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandSucceededEvent::getCommandName
-
-
-
- Returns the command name (e.g. "find",
- "aggregate").
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command name.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getdurationmicros.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getdurationmicros.xml
deleted file mode 100644
index fc7643019..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getdurationmicros.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros
- Returns the command's duration in microseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros
-
-
-
- The command's duration is a calculated value that includes the time to send
- the message and receive the reply from the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's duration in microseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml
deleted file mode 100644
index 359050a94..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getOperationId
- Returns the command's operation ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandSucceededEvent::getOperationId
-
-
-
- The operation ID is generated by the driver and may be used to link events
- together such as bulk write operations, which may have been split across
- several commands at the protocol level.
-
-
-
- Since multiple commands may share the same operation ID, it is not reliable
- to use this value to associate event objects with each other. The request ID
- returned by
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
- should be used instead.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's operation ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getOperationId
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getreply.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getreply.xml
deleted file mode 100644
index 5f35079aa..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getreply.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getReply
- Returns the command reply document
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Monitoring\CommandSucceededEvent::getReply
-
-
-
- The reply document will be converted from BSON to PHP using the default
- deserialization
- rules (e.g. BSON documents will be converted to stdClass).
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command reply document as a stdClass
- object.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getrequestid.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getrequestid.xml
deleted file mode 100644
index e85a7a83e..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getrequestid.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
- Returns the command's request ID
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId
-
-
-
- The request ID is generated by the driver and may be used to associate this
- MongoDB\Driver\Monitoring\CommandSucceededEvent with a
- previous
- MongoDB\Driver\Monitoring\CommandStartedEvent.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the command's request ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserver.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserver.xml
deleted file mode 100644
index 99ceca55f..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserver.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer
- Returns the Server on which the command was executed
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\Monitoring\CommandSucceededEvent::getServer
-
-
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server on which the command
- was executed.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\CommandStartedEvent::getServer
- MongoDB\Driver\Cursor::getServer
- MongoDB\Driver\WriteResult::getServer
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserviceid.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserviceid.xml
deleted file mode 100644
index 2ddf11e58..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserviceid.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\CommandSucceededEvent::getServiceId
- Returns the load balancer service ID for the command
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdnullMongoDB\Driver\Monitoring\CommandSucceededEvent::getServiceId
-
-
-
- When the driver is connected to a MongoDB cluster through a load balancer,
- the service ID corresponds to the serviceId field in the
- hello command response.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the load balancer service ID, or &null; if the driver is not
- connected to a load balancer.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.commandfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.commandfailedevent.xml
deleted file mode 100644
index 3700133a2..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.commandfailedevent.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getcommandname;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getdurationmicros;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.geterror;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getoperationid;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getreply;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getrequestid;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getserver;
-&reference.mongodb.mongodb.driver.monitoring.commandfailedevent.getserviceid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.commandstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.commandstartedevent.xml
deleted file mode 100644
index 71dda3e37..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.commandstartedevent.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getcommand;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getcommandname;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getdatabasename;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getoperationid;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getrequestid;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getserver;
-&reference.mongodb.mongodb.driver.monitoring.commandstartedevent.getserviceid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.commandsubscriber.xml b/reference/mongodb/mongodb/driver/monitoring/entities.commandsubscriber.xml
deleted file mode 100644
index 1887daebb..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.commandsubscriber.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.commandsubscriber.commandfailed;
-&reference.mongodb.mongodb.driver.monitoring.commandsubscriber.commandstarted;
-&reference.mongodb.mongodb.driver.monitoring.commandsubscriber.commandsucceeded;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.commandsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.commandsucceededevent.xml
deleted file mode 100644
index df32e0300..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.commandsucceededevent.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getcommandname;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getdurationmicros;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getoperationid;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getreply;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getrequestid;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getserver;
-&reference.mongodb.mongodb.driver.monitoring.commandsucceededevent.getserviceid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.sdamsubscriber.xml b/reference/mongodb/mongodb/driver/monitoring/entities.sdamsubscriber.xml
deleted file mode 100644
index 674bcf6f1..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.sdamsubscriber.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serverchanged;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serverclosed;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serverheartbeatfailed;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serverheartbeatstarted;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serverheartbeatsucceeded;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.serveropening;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.topologychanged;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.topologyclosed;
-&reference.mongodb.mongodb.driver.monitoring.sdamsubscriber.topologyopening;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serverchangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serverchangedevent.xml
deleted file mode 100644
index b20e36333..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serverchangedevent.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent.getnewdescription;
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent.getpreviousdescription;
-&reference.mongodb.mongodb.driver.monitoring.serverchangedevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serverclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serverclosedevent.xml
deleted file mode 100644
index eae9bfe8e..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serverclosedevent.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serverclosedevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serverclosedevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serverclosedevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatfailedevent.xml
deleted file mode 100644
index 8d6b9e9b8..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatfailedevent.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent.getdurationmicros;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent.geterror;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatfailedevent.isawaited;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatstartedevent.xml
deleted file mode 100644
index e685ff3b9..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatstartedevent.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatstartedevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatstartedevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatstartedevent.isawaited;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatsucceededevent.xml
deleted file mode 100644
index cd1c6890e..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serverheartbeatsucceededevent.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent.getdurationmicros;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent.getreply;
-&reference.mongodb.mongodb.driver.monitoring.serverheartbeatsucceededevent.isawaited;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.serveropeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.serveropeningevent.xml
deleted file mode 100644
index 8d9b1d408..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.serveropeningevent.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.serveropeningevent.gethost;
-&reference.mongodb.mongodb.driver.monitoring.serveropeningevent.getport;
-&reference.mongodb.mongodb.driver.monitoring.serveropeningevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.topologychangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.topologychangedevent.xml
deleted file mode 100644
index 2b64534f6..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.topologychangedevent.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.topologychangedevent.getnewdescription;
-&reference.mongodb.mongodb.driver.monitoring.topologychangedevent.getpreviousdescription;
-&reference.mongodb.mongodb.driver.monitoring.topologychangedevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.topologyclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.topologyclosedevent.xml
deleted file mode 100644
index 40f85722a..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.topologyclosedevent.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.topologyclosedevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/entities.topologyopeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/entities.topologyopeningevent.xml
deleted file mode 100644
index af8737222..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/entities.topologyopeningevent.xml
+++ /dev/null
@@ -1 +0,0 @@
-&reference.mongodb.mongodb.driver.monitoring.topologyopeningevent.gettopologyid;
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber.xml
deleted file mode 100644
index 978013805..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\SDAMSubscriber interface
- MongoDB\Driver\Monitoring\SDAMSubscriber
-
-
-
-
-
- &reftitle.intro;
-
- Classes may implement this interface to register an event subscriber that is
- notified for various SDAM events. See the
- Server Discovery and Monitoring
- and SDAM Monitoring
- specifications for additional information.
-
-
-
-
-
- &reftitle.interfacesynopsis;
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber
-
-
-
- MongoDB\Driver\Monitoring\Subscriber
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.sdamsubscriber;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverchanged.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverchanged.xml
deleted file mode 100644
index fbcb51614..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverchanged.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged
- Notification method for a server description change
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverChanged
- MongoDB\Driver\Monitoring\ServerChangedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server's description has changed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerChangedEvent)
-
-
- An event object encapsulating information about the changed server
- description.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerChangedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverclosed.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverclosed.xml
deleted file mode 100644
index 4a2e44d58..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverclosed.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed
- Notification method for closing a server
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed
- MongoDB\Driver\Monitoring\ServerClosedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server is closed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerClosedEvent)
-
-
- An event object encapsulating information about the closed server.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerClosedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatfailed.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatfailed.xml
deleted file mode 100644
index 47da8a3a3..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatfailed.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed
- Notification method for a failed server heartbeat
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server heartbeat (i.e.
- hello
- command issued through
- server monitoring) has failed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent)
-
-
- An event object encapsulating information about the failed server
- heartbeat.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatstarted.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatstarted.xml
deleted file mode 100644
index ff574ff33..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatstarted.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatStarted
- Notification method for a started server heartbeat
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatStarted
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server heartbeat (i.e.
- hello
- command issued through
- server monitoring) has started.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent)
-
-
- An event object encapsulating information about the started server
- heartbeat.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatsucceeded.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatsucceeded.xml
deleted file mode 100644
index 6fb3a0d86..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serverheartbeatsucceeded.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatSucceeded
- Notification method for a successful server heartbeat
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatSucceeded
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server heartbeat (i.e.
- hello
- command issued through
- server monitoring) has
- succeeded.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent)
-
-
- An event object encapsulating information about the successful server
- heartbeat.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serveropening.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serveropening.xml
deleted file mode 100644
index 5f97d8b85..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/serveropening.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening
- Notification method for opening a server
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening
- MongoDB\Driver\Monitoring\ServerOpeningEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- a server is opened.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\ServerOpeningEvent)
-
-
- An event object encapsulating information about the opened server.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologychanged.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologychanged.xml
deleted file mode 100644
index 5309a87fe..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologychanged.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::topologyChanged
- Notification method for a topology description change
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::topologyChanged
- MongoDB\Driver\Monitoring\TopologyChangedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- the topology's description has changed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\TopologyChangedEvent)
-
-
- An event object encapsulating information about the changed topology
- description.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyclosed.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyclosed.xml
deleted file mode 100644
index bf030d2a6..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyclosed.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::topologyClosed
- Notification method for closing the topology
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::topologyClosed
- MongoDB\Driver\Monitoring\TopologyClosedEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- the topology is closed.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\TopologyClosedEvent)
-
-
- An event object encapsulating information about the closed topology.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\TopologyClosedEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyopening.xml b/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyopening.xml
deleted file mode 100644
index 17a952875..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/sdamsubscriber/topologyopening.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening
- Notification method for opening the topology
-
-
-
- &reftitle.description;
-
- abstractpublicvoidMongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening
- MongoDB\Driver\Monitoring\TopologyOpeningEventevent
-
-
- If the subscriber has been registered, the driver will call this method when
- the topology is opened.
-
-
-
-
- &reftitle.parameters;
-
-
- event (MongoDB\Driver\Monitoring\TopologyOpeningEvent)
-
-
- An event object encapsulating information about the opened topology.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Monitoring\TopologyOpeningEvent
- MongoDB\Driver\Monitoring\addSubscriber
- MongoDB\Driver\Manager::addSubscriber
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml
deleted file mode 100644
index 7c7997163..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerChangedEvent class
- MongoDB\Driver\Monitoring\ServerChangedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerChangedEvent
- class encapsulates information about a changed server description.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerChangedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serverchangedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gethost.xml
deleted file mode 100644
index 08b25905d..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gethost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerChangedEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getnewdescription.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getnewdescription.xml
deleted file mode 100644
index 306d60192..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getnewdescription.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent::getNewDescription
- Returns the new description for the server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerDescriptionMongoDB\Driver\Monitoring\ServerChangedEvent::getNewDescription
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the new MongoDB\Driver\ServerDescription
- for the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getport.xml
deleted file mode 100644
index 4a917f049..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getport.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerChangedEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getpreviousdescription.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getpreviousdescription.xml
deleted file mode 100644
index ef5e7530f..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/getpreviousdescription.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription
- Returns the previous description for the server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerDescriptionMongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the previous MongoDB\Driver\ServerDescription
- for the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gettopologyid.xml
deleted file mode 100644
index f31462b1b..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId
- Returns the topology ID associated with this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml
deleted file mode 100644
index af824fa7b..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerClosedEvent class
- MongoDB\Driver\Monitoring\ServerClosedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerClosedEvent
- class encapsulates information about a closed server.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerClosedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerClosedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serverclosedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gethost.xml
deleted file mode 100644
index 08fe70618..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gethost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerClosedEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerClosedEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/getport.xml
deleted file mode 100644
index 7275c4d44..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/getport.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerClosedEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerClosedEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gettopologyid.xml
deleted file mode 100644
index 92e039315..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId
- Returns the topology ID associated with this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml
deleted file mode 100644
index 3f5bd09ef..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent class
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
- class encapsulates information about a failed server heartbeat.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatfailedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getdurationmicros.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getdurationmicros.xml
deleted file mode 100644
index 48574d049..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getdurationmicros.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getDurationMicros
- Returns the heartbeat's duration in microseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getDurationMicros
-
-
-
- The heartbeat's duration is a calculated value that includes the time to send
- the message and receive the reply from the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the heartbeat's duration in microseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/geterror.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/geterror.xml
deleted file mode 100644
index f0fd25fc8..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/geterror.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError
- Returns the Exception associated with the failed heartbeat
-
-
-
- &reftitle.description;
-
- finalpublicExceptionMongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the Exception associated with the failed
- heartbeat.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/gethost.xml
deleted file mode 100644
index fd5c39282..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/gethost.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getport.xml
deleted file mode 100644
index a2b759a93..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/getport.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/isawaited.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/isawaited.xml
deleted file mode 100644
index 702da6acf..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent/isawaited.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited
- Returns whether the heartbeat used a streaming protocol
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited
-
-
-
- Returns whether the heartbeat used a streaming protocol. The PHP driver does
- not use the streaming protocol for monitoring, so this method will always
- return &false;.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &false;.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml
deleted file mode 100644
index 5608a5c94..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
- class encapsulates information about a started server heartbeat.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatstartedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/gethost.xml
deleted file mode 100644
index 5df965655..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/gethost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/getport.xml
deleted file mode 100644
index 793844360..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/getport.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/isawaited.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/isawaited.xml
deleted file mode 100644
index 69191b295..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/isawaited.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited
- Returns whether the heartbeat used a streaming protocol
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited
-
-
-
- Returns whether the heartbeat used a streaming protocol. The PHP driver does
- not use the streaming protocol for monitoring, so this method will always
- return &false;.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &false;.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml
deleted file mode 100644
index 6e8c833e0..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent class
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
- class encapsulates information about a successful server heartbeat.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatsucceededevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getdurationmicros.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getdurationmicros.xml
deleted file mode 100644
index e419b86e2..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getdurationmicros.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros
- Returns the heartbeat's duration in microseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros
-
-
-
- The heartbeat's duration is a calculated value that includes the time to send
- the message and receive the reply from the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the heartbeat's duration in microseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/gethost.xml
deleted file mode 100644
index e100ceab7..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/gethost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getport.xml
deleted file mode 100644
index 2c4094905..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getport.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getreply.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getreply.xml
deleted file mode 100644
index c071b6e47..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getreply.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply
- Returns the heartbeat reply document
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply
-
-
-
- The reply document will be converted from BSON to PHP using the default
- deserialization
- rules (e.g. BSON documents will be converted to stdClass).
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the heartbeat reply document as a stdClass
- object.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/isawaited.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/isawaited.xml
deleted file mode 100644
index 7886debc4..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/isawaited.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited
- Returns whether the heartbeat used a streaming protocol
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited
-
-
-
- Returns whether the heartbeat used a streaming protocol. The PHP driver does
- not use the streaming protocol for monitoring, so this method will always
- return &false;.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &false;.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml
deleted file mode 100644
index 9a1070859..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\ServerOpeningEvent class
- MongoDB\Driver\Monitoring\ServerOpeningEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\ServerOpeningEvent
- class encapsulates information about an opened server.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.serveropeningevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gethost.xml b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gethost.xml
deleted file mode 100644
index 002345275..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gethost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getHost
- Returns the hostname of the server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Monitoring\ServerOpeningEvent::getHost
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of the server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/getport.xml b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/getport.xml
deleted file mode 100644
index b8fcd2420..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/getport.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Monitoring\ServerOpeningEvent::getPort
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gettopologyid.xml
deleted file mode 100644
index 71b1fbd6c..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId
- Returns the topology ID associated with this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\ServerOpeningEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/subscriber.xml b/reference/mongodb/mongodb/driver/monitoring/subscriber.xml
deleted file mode 100644
index 0d46cd29a..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/subscriber.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\Subscriber interface
- MongoDB\Driver\Monitoring\Subscriber
-
-
-
-
-
- &reftitle.intro;
-
- Base interface for event subscribers. This is used as a parameter type in the functions
- MongoDB\Driver\Monitoring\addSubscriber and
- MongoDB\Driver\Monitoring\removeSubscriber and should
- not be implemented directly.
-
-
-
-
-
- &reftitle.interfacesynopsis;
-
-
-
- MongoDB\Driver\Monitoring\Subscriber
-
-
-
-
- MongoDB\Driver\Monitoring\Subscriber
-
-
-
-
-
-
-
-
- This interface has no methods. Its only purpose is to be the base interface
- for all event subscribers.
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml
deleted file mode 100644
index 46a93f2f5..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\TopologyChangedEvent class
- MongoDB\Driver\Monitoring\TopologyChangedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\TopologyChangedEvent
- class encapsulates information about a changed topology description.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.topologychangedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getnewdescription.xml b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getnewdescription.xml
deleted file mode 100644
index bf2eff554..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getnewdescription.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription
- Returns the new description for the topology
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\TopologyDescriptionMongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the new MongoDB\Driver\TopologyDescription
- for the topology.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getpreviousdescription.xml b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getpreviousdescription.xml
deleted file mode 100644
index 36af2580a..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/getpreviousdescription.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription
- Returns the previous description for the topology
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\TopologyDescriptionMongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the previous MongoDB\Driver\TopologyDescription
- for the topology.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/gettopologyid.xml
deleted file mode 100644
index 59d3f708c..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getTopologyId
- Returns the topology ID
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\TopologyChangedEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml
deleted file mode 100644
index fca90cdc3..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\TopologyClosedEvent class
- MongoDB\Driver\Monitoring\TopologyClosedEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\TopologyClosedEvent
- class encapsulates information about a closed topology.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\TopologyClosedEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\TopologyClosedEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.topologyclosedevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent/gettopologyid.xml
deleted file mode 100644
index f4cdc97c3..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\TopologyClosedEvent::getTopologyId
- Returns the topology ID
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\TopologyClosedEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml
deleted file mode 100644
index 255abe01c..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Monitoring\TopologyOpeningEvent class
- MongoDB\Driver\Monitoring\TopologyOpeningEvent
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Monitoring\TopologyOpeningEvent
- class encapsulates information about an opened topology.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Monitoring\TopologyOpeningEvent
-
-
-
- final
-
- MongoDB\Driver\Monitoring\TopologyOpeningEvent
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.monitoring.entities.topologyopeningevent;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent/gettopologyid.xml b/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent/gettopologyid.xml
deleted file mode 100644
index 678540919..000000000
--- a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent/gettopologyid.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId
- Returns the topology ID
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\ObjectIdMongoDB\Driver\Monitoring\TopologyOpeningEvent::getTopologyId
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the topology ID.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/query.xml b/reference/mongodb/mongodb/driver/query.xml
deleted file mode 100644
index db12fa40b..000000000
--- a/reference/mongodb/mongodb/driver/query.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Query class
- MongoDB\Driver\Query
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Query class is a value object that
- represents a database query.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Query
-
-
-
- final
-
- MongoDB\Driver\Query
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.query;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/query/construct.xml b/reference/mongodb/mongodb/driver/query/construct.xml
deleted file mode 100644
index 8b289c3d5..000000000
--- a/reference/mongodb/mongodb/driver/query/construct.xml
+++ /dev/null
@@ -1,571 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Query::__construct
- Create a new Query
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\Query::__construct
- arrayobjectfilter
- arrayqueryOptions
-
-
- Constructs a new MongoDB\Driver\Query, which is an
- immutable value object that represents a database query. The query may then
- be executed with
- MongoDB\Driver\Manager::executeQuery.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.filter;
-
- queryOptions
-
-
-
- queryOptions
-
-
-
- Option
- Type
- Description
-
-
-
-
- allowDiskUse
- bool
-
-
- Allows MongoDB to use temporary disk files to store data exceeding
- the 100 megabyte system memory limit while processing a blocking
- sort operation.
-
-
-
-
- allowPartialResults
- bool
-
-
- For queries against a sharded collection, returns partial results
- from the mongos if some shards are unavailable instead of throwing
- an error.
-
-
- Falls back to the deprecated "partial" option if
- not specified.
-
-
-
-
- awaitData
- bool
-
- Use in conjunction with the "tailable" option to
- block a getMore operation on the cursor temporarily if at the end of
- data rather than returning no data. After a timeout period, the query
- returns as normal.
-
-
-
- batchSize
- int
-
-
- The number of documents to return in the first batch. Defaults to
- 101. A batch size of 0 means that the cursor will be established,
- but no documents will be returned in the first batch.
-
-
- In versions of MongoDB before 3.2, where queries use the legacy wire
- protocol OP_QUERY, a batch size of 1 will close the cursor
- irrespective of the number of matched documents.
-
-
-
- &mongodb.option.collation;
-
- comment
- string
-
-
- A comment to attach to the query to help interpret and trace query
- profile data.
-
-
- Falls back to the deprecated "$comment" modifier
- if not specified.
-
-
-
-
- exhaust
- bool
-
-
- Stream the data down full blast in multiple "more" packages, on the
- assumption that the client will fully read all data queried. Faster
- when you are pulling a lot of data and know you want to pull it all
- down. Note: the client is not allowed to not read all the data
- unless it closes the connection.
-
-
- This option is not supported by the find command in MongoDB 3.2+ and
- will force the driver to use the legacy wire protocol version (i.e.
- OP_QUERY).
-
-
-
-
- explain
- bool
-
-
- If &true;, the returned MongoDB\Driver\Cursor
- will contain a single document that describes the process and
- indexes used to return the query.
-
-
- Falls back to the deprecated "$explain" modifier
- if not specified.
-
-
- This option is not supported by the find command in MongoDB 3.2+ and
- will only be respected when using the legacy wire protocol version
- (i.e. OP_QUERY). The
- explain
- command should be used on MongoDB 3.0+.
-
-
-
-
- hint
- stringarrayobject
-
-
- Index specification. Specify either the index name as a string or
- the index key pattern. If specified, then the query system will only
- consider plans using the hinted index.
-
-
- Falls back to the deprecated "hint" option if not
- specified.
-
-
-
-
- limit
- int
-
-
- The maximum number of documents to return. If unspecified, then
- defaults to no limit. A limit of 0 is equivalent to setting no
- limit.
-
-
- A negative limit is will be interpreted as a positive limit with the
- "singleBatch" option set to &true;. This behavior
- is supported for backwards compatibility, but should be considered
- deprecated.
-
-
-
-
- max
- arrayobject
-
-
- The exclusive upper bound for a specific index.
-
-
- Falls back to the deprecated "$max" modifier if
- not specified.
-
-
-
-
- maxAwaitTimeMS
- int
-
-
- Positive integer denoting the time limit in milliseconds for the
- server to block a getMore operation if no data is available. This
- option should only be used in conjunction with the
- "tailable" and "awaitData"
- options.
-
-
-
-
- maxScan
- int
-
-
-
- This option is deprecated and should not be used.
-
-
-
- Positive integer denoting the maximum number of documents or index
- keys to scan when executing the query.
-
-
- Falls back to the deprecated "$maxScan" modifier
- if not specified.
-
-
-
-
- maxTimeMS
- int
-
-
- The cumulative time limit in milliseconds for processing operations
- on the cursor. MongoDB aborts the operation at the earliest
- following interrupt point.
-
-
- Falls back to the deprecated "$maxTimeMS"
- modifier if not specified.
-
-
-
-
- min
- arrayobject
-
-
- The inclusive lower bound for a specific index.
-
-
- Falls back to the deprecated "$min" modifier if
- not specified.
-
-
-
-
- modifiers
- array
-
- Meta operators
- modifying the output or behavior of a query. Use of these operators
- is deprecated in favor of named options.
-
-
-
- noCursorTimeout
- bool
-
- Prevents the server from timing out idle cursors after an inactivity
- period (10 minutes).
-
-
-
- oplogReplay
- bool
-
-
- Internal use for replica sets. To use oplogReplay, you must include
- the following condition in the filter:
-
-
-
- [ '$gte' => ] ]
-]]>
-
-
- This option is deprecated as of the 1.8.0 release.
-
-
-
- projection
- arrayobject
-
-
- The projection specification
- to determine which fields to include in the returned documents.
-
-
- If you are using the ODM
- functionality to deserialise documents as their original
- PHP class, make sure that you include the
- __pclass field in the projection. This is
- required for the deserialization to work and without it, the
- driver will return (by default) a stdClass
- object instead.
-
-
-
-
- readConcern
- MongoDB\Driver\ReadConcern
-
-
- A read concern to apply to the operation. By default, the read
- concern from the
- MongoDB
- Connection URI will be used.
-
-
- This option is available in MongoDB 3.2+ and will result in an
- exception at execution time if specified for an older server
- version.
-
-
-
-
- returnKey
- bool
-
-
- If &true;, returns only the index keys in the resulting documents.
- Default value is &false;. If &true; and the find command does not
- use an index, the returned documents will be empty.
-
-
- Falls back to the deprecated "$returnKey"
- modifier if not specified.
-
-
-
-
- showRecordId
- bool
-
-
- Determines whether to return the record identifier for each
- document. If &true;, adds a top-level "$recordId"
- field to the returned documents.
-
-
- Falls back to the deprecated "$showDiskLoc"
- modifier if not specified.
-
-
-
-
- singleBatch
- bool
-
- Determines whether to close the cursor after the first batch.
- Defaults to &false;.
-
-
-
- skip
- int
- Number of documents to skip. Defaults to 0.
-
-
- snapshot
- bool
-
-
-
- This option is deprecated and should not be used.
-
-
-
- Prevents the cursor from returning a document more than once because
- of an intervening write operation.
-
-
- Falls back to the deprecated "$snapshot" modifier
- if not specified.
-
-
-
-
- sort
- arrayobject
-
- The sort specification for the ordering of the results.
-
- Falls back to the deprecated "$orderby" modifier
- if not specified.
-
-
-
-
- tailable
- bool
- Returns a tailable cursor for a capped collection.
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.8.0
-
-
- Added the "allowDiskUse" option.
-
-
- The "oplogReplay" option is deprecated.
-
-
-
-
- PECL mongodb 1.5.0
-
-
- The "maxScan" and "snapshot"
- options are deprecated.
-
-
-
-
- PECL mongodb 1.3.0
-
-
- Added the "maxAwaitTimeMS" option.
-
-
-
-
- PECL mongodb 1.2.0
-
-
- Added the "allowPartialResults",
- "collation", "comment",
- "hint", "max",
- "maxScan", "maxTimeMS",
- "min", "returnKey",
- "showRecordId", and "snapshot"
- options.
-
-
- Renamed the "partial" option to
- "allowPartialResults". For backwards compatibility,
- "partial" will still be read if
- "allowPartialResults" is not specified.
-
-
- Removed the legacy "secondaryOk" option, which is
- obsolete. For queries using the legacy wire protocol OP_QUERY, the
- driver will set the secondaryOk bit as needed in
- accordance with the
- Server Selection Specification.
-
-
-
-
- PECL mongodb 1.1.0
- Added the "readConcern" option.
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Query::__construct example
-
- 'bjori',
- 'views' => [
- '$gte' => 100,
- ],
-];
-
-$options = [
- /* Only return the following fields in the matching documents */
- 'projection' => [
- 'title' => 1,
- 'article' => 1,
- ],
- /* Return the documents in descending order of views */
- 'sort' => [
- 'views' => -1
- ],
-];
-
-$query = new MongoDB\Driver\Query($filter, $options);
-
-$manager = new MongoDB\Driver\Manager('mongodb://localhost:27017');
-$readPreference = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_PRIMARY);
-$cursor = $manager->executeQuery('databaseName.collectionName', $query, $readPreference);
-
-foreach($cursor as $document) {
- var_dump($document);
-}
-
-?>
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::executeQuery
- MongoDB\Driver\Cursor
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern.xml b/reference/mongodb/mongodb/driver/readconcern.xml
deleted file mode 100644
index 4dc714c94..000000000
--- a/reference/mongodb/mongodb/driver/readconcern.xml
+++ /dev/null
@@ -1,315 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\ReadConcern class
- MongoDB\Driver\ReadConcern
-
-
-
-
-
- &reftitle.intro;
-
- MongoDB\Driver\ReadConcern controls the level of
- isolation for read operations for replica sets and replica set shards. This
- option requires MongoDB 3.2 or later.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\ReadConcern
-
-
-
- final
-
- MongoDB\Driver\ReadConcern
-
-
-
- MongoDB\BSON\Serializable
-
-
-
- Serializable
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\ReadConcern::AVAILABLE
- "available"
-
-
- const
- string
- MongoDB\Driver\ReadConcern::LINEARIZABLE
- "linearizable"
-
-
- const
- string
- MongoDB\Driver\ReadConcern::LOCAL
- "local"
-
-
- const
- string
- MongoDB\Driver\ReadConcern::MAJORITY
- "majority"
-
-
- const
- string
- MongoDB\Driver\ReadConcern::SNAPSHOT
- "snapshot"
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\ReadConcern::AVAILABLE
-
-
- Default for reads against secondaries when
- afterClusterTimeand level are
- unspecified.
-
-
- The query returns the instance's most recent data. Provides no
- guarantee that the data has been written to a majority of the replica set
- members (i.e. may be rolled back).
-
-
- For unsharded collections (including collections in a standalone
- deployment or a replica set deployment), "local" and
- "available" read concerns behave identically.
-
-
- For a sharded cluster, "available" read concern
- provides greater tolerance for partitions since it does not wait to
- ensure consistency guarantees. However, a query with
- "available" read concern may return orphan documents
- if the shard is undergoing chunk migrations since the
- "available" read concern, unlike
- "local" read concern, does not contact the
- shard's primary nor the config servers for updated metadata.
-
-
-
-
-
- MongoDB\Driver\ReadConcern::LINEARIZABLE
-
-
- The query returns data that reflects all successful writes issued with a
- write concern of "majority"and
- acknowledged prior to the start of the read operation. For replica sets
- that run with writeConcernMajorityJournalDefault set
- to &true;, linearizable read concern returns data that will never be
- rolled back.
-
-
- With writeConcernMajorityJournalDefault set to
- &false;, MongoDB will not wait for w: "majority"
- writes to be durable before acknowledging the writes. As such,
- "majority" write operations could possibly roll back
- in the event of a loss of a replica set member.
-
-
- You can specify linearizable read concern for read operations on the
- primary only.
-
-
- Linearizable read concern guarantees only apply if read
- operations specify a query filter that uniquely identifies a single
- document.
-
-
-
- Always use maxTimeMS with linearizable read concern
- in case a majority of data bearing members are unavailable.
- maxTimeMS ensures that the operation does not block
- indefinitely and instead ensures that the operation returns an error if
- the read concern cannot be fulfilled.
-
-
-
- Linearizable read concern requires MongoDB 3.4.
-
-
-
-
-
- MongoDB\Driver\ReadConcern::LOCAL
-
-
- Default for reads against primary if level is
- unspecified and for reads against secondaries if level
- is unspecified but afterClusterTime is specified.
-
-
- The query returns the instance's most recent data. Provides no
- guarantee that the data has been written to a majority of the replica set
- members (i.e. may be rolled back).
-
-
-
-
-
- MongoDB\Driver\ReadConcern::MAJORITY
-
-
- The query returns the instance's most recent data acknowledged as
- having been written to a majority of members in the replica set.
-
-
- To use read concern level of "majority", replica sets
- must use WiredTiger storage engine and election protocol version 1.
-
-
-
-
-
- MongoDB\Driver\ReadConcern::SNAPSHOT
-
-
- Read concern "snapshot" is available for
- multi-document transactions, and starting in MongoDB 5.0, certain read
- operations outside of multi-document transactions.
-
-
- If the transaction is not part of a causally consistent session, upon
- transaction commit with write concern "majority", the
- transaction operations are guaranteed to have read from a snapshot of
- majority-committed data.
-
-
- If the transaction is part of a causally consistent session, upon
- transaction commit with write concern "majority", the
- transaction operations are guaranteed to have read from a snapshot of
- majority-committed data that provides causal consistency with the
- operation immediately preceding the transaction start.
-
-
- Outside of multi-document transactions, read concern
- "snapshot" is available on primaries and secondaries
- for the following read operations: find,
- aggregate, and distinct (on
- unsharded collections). All other read commands prohibit
- "snapshot".
-
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
-
- Added the MongoDB\Driver\ReadConcern::SNAPSHOT
- constant.
-
-
-
-
- PECL mongodb 1.7.0
-
- Implements Serializable.
-
-
-
- PECL mongodb 1.4.0
-
-
- Added the MongoDB\Driver\ReadConcern::AVAILABLE
- constant.
-
-
-
-
- PECL mongodb 1.2.0
-
-
- Added the
- MongoDB\Driver\ReadConcern::LINEARIZABLE
- constant.
-
-
- Implements MongoDB\BSON\Serializable.
-
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Concern reference
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.readconcern;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/bsonserialize.xml b/reference/mongodb/mongodb/driver/readconcern/bsonserialize.xml
deleted file mode 100644
index 91597a416..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/bsonserialize.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::bsonSerialize
- Returns an object for BSON serialization
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\ReadConcern::bsonSerialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an object for serializing the ReadConcern as BSON.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadConcern::bsonSerialize with empty read concern
-
-bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($rc));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
- MongoDB\Driver\ReadConcern::bsonSerialize with local read concern
-
-bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($rc));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(5) "local"
-}
-
-{ "level" : "local" }
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\Serializable::bsonSerialize
- Read Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/construct.xml b/reference/mongodb/mongodb/driver/readconcern/construct.xml
deleted file mode 100644
index 0e133ab53..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/construct.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::__construct
- Create a new ReadConcern
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ReadConcern::__construct
- stringlevel
-
-
- Constructs a new MongoDB\Driver\ReadConcern, which is
- an immutable value object.
-
-
-
-
- &reftitle.parameters;
-
-
- level
-
-
- The read concern level.
- You may use, but are not limited to, one of the
- class constants.
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadConcern::__construct example
-
-
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/getlevel.xml b/reference/mongodb/mongodb/driver/readconcern/getlevel.xml
deleted file mode 100644
index 86fb459a4..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/getlevel.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::getLevel
- Returns the ReadConcern's "level" option
-
-
-
- &reftitle.description;
-
- finalpublicstringnullMongoDB\Driver\ReadConcern::getLevel
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadConcern's "level" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadConcern::getLevel example
-
-getLevel());
-
-$rc = new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::LOCAL);
-var_dump($rc->getLevel());
-
-$rc = new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::MAJORITY);
-var_dump($rc->getLevel());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/isdefault.xml b/reference/mongodb/mongodb/driver/readconcern/isdefault.xml
deleted file mode 100644
index 3f342aee5..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/isdefault.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::isDefault
- Checks if this is the default read concern
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\ReadConcern::isDefault
-
-
-
- Returns whether this is the default read concern (i.e. no options are
- specified). This method is primarily intended to be used in conjunction with
- MongoDB\Driver\Manager::getReadConcern to determine
- whether the Manager has been constructed without any read concern options.
-
-
- The driver will not include a default read concern in its read operations
- (e.g. MongoDB\Driver\Manager::executeQuery) in order
- order to allow the server to apply its own default. Libraries that access the
- Manager's read concern to include it in their own read commands should use
- this method to ensure that default read concerns are left unset.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this is the default read concern and &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadConcern::isDefault example
-
-isDefault());
-
-$rc = new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::MAJORITY);
-var_dump($rc->isDefault());
-
-$manager = new MongoDB\Driver\Manager('mongodb://127.0.0.1/?readConcernLevel=majority');
-$rc = $manager->getReadConcern();
-var_dump($rc->isDefault());
-
-$manager = new MongoDB\Driver\Manager('mongodb://127.0.0.1/');
-$rc = $manager->getReadConcern();
-var_dump($rc->isDefault());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::getReadConcern
- Read Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/serialize.xml b/reference/mongodb/mongodb/driver/readconcern/serialize.xml
deleted file mode 100644
index 1fe9467ba..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/serialize.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::serialize
- Serialize a ReadConcern
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ReadConcern::serialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the serialized representation of the
- MongoDB\Driver\ReadConcern.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadConcern::unserialize
- serialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readconcern/unserialize.xml b/reference/mongodb/mongodb/driver/readconcern/unserialize.xml
deleted file mode 100644
index 7954ab985..000000000
--- a/reference/mongodb/mongodb/driver/readconcern/unserialize.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadConcern::unserialize
- Unserialize a ReadConcern
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\ReadConcern::unserialize
- stringserialized
-
-
-
-
- &reftitle.parameters;
-
-
-
- serialized
-
-
- The serialized MongoDB\Driver\ReadConcern.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the properties are invalid (e.g. missing fields or invalid values).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadConcern::serialize
- unserialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference.xml b/reference/mongodb/mongodb/driver/readpreference.xml
deleted file mode 100644
index 8fa6adebf..000000000
--- a/reference/mongodb/mongodb/driver/readpreference.xml
+++ /dev/null
@@ -1,331 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\ReadPreference class
- MongoDB\Driver\ReadPreference
-
-
-
-
-
- &reftitle.intro;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\ReadPreference
-
-
-
- final
-
- MongoDB\Driver\ReadPreference
-
-
-
- MongoDB\BSON\Serializable
-
-
-
- Serializable
-
-
-
- Constants
-
- const
- int
- MongoDB\Driver\ReadPreference::RP_PRIMARY
- 1
-
-
- const
- int
- MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED
- 5
-
-
- const
- int
- MongoDB\Driver\ReadPreference::RP_SECONDARY
- 2
-
-
- const
- int
- MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED
- 6
-
-
- const
- int
- MongoDB\Driver\ReadPreference::RP_NEAREST
- 10
-
-
- const
- string
- MongoDB\Driver\ReadPreference::PRIMARY
- primary
-
-
- const
- string
- MongoDB\Driver\ReadPreference::PRIMARY_PREFERRED
- primaryPreferred
-
-
- const
- string
- MongoDB\Driver\ReadPreference::SECONDARY
- secondary
-
-
- const
- string
- MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED
- secondaryPreferred
-
-
- const
- string
- MongoDB\Driver\ReadPreference::NEAREST
- nearest
-
-
- const
- int
- MongoDB\Driver\ReadPreference::NO_MAX_STALENESS
- -1
-
-
- const
- int
- MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS
- 90
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\ReadPreference::RP_PRIMARY
-
-
- All operations read from the current replica set primary. This is the
- default read preference for MongoDB.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED
-
-
- In most situations, operations read from the primary but if it is
- unavailable, operations read from secondary members.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_SECONDARY
-
-
- All operations read from the secondary members of the replica set.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED
-
-
- In most situations, operations read from secondary members but if no
- secondary members are available, operations read from the primary.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_NEAREST
-
-
- Operations read from member of the replica set with the least network
- latency, irrespective of the member's type.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::PRIMARY
-
-
- All operations read from the current replica set primary. This is the
- default read preference for MongoDB.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::PRIMARY_PREFERRED
-
-
- In most situations, operations read from the primary but if it is
- unavailable, operations read from secondary members.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::SECONDARY
-
-
- All operations read from the secondary members of the replica set.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED
-
-
- In most situations, operations read from secondary members but if no
- secondary members are available, operations read from the primary.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::NEAREST
-
-
- Operations read from member of the replica set with the least network
- latency, irrespective of the member's type.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::NO_MAX_STALENESS
-
-
- The default value for the "maxStalenessSeconds"
- option is to specify no limit on maximum staleness, which means that the
- driver will not consider a secondary's lag when choosing where to
- direct a read operation.
-
-
-
-
-
- MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS
-
-
- The minimum value for the "maxStalenessSeconds" option
- is 90 seconds. The driver estimates secondaries' staleness by
- periodically checking the latest write date of each replica set member.
- Since these checks are infrequent, the staleness estimate is coarse.
- Thus, the driver cannot enforce a max staleness value of less than 90
- seconds.
-
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.7.0
-
-
- Added the
- MongoDB\Driver\ReadPreference::PRIMARY,
- MongoDB\Driver\ReadPreference::PRIMARY_PREFERRED,
- MongoDB\Driver\ReadPreference::SECONDARY,
- MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED,
- MongoDB\Driver\ReadPreference::NEAREST constants.
-
-
- Implements Serializable.
-
-
-
-
- PECL mongodb 1.2.0
-
-
- Added the
- MongoDB\Driver\ReadPreference::NO_MAX_STALENESS
- and
- MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS
- constants.
-
-
- Implements MongoDB\BSON\Serializable.
-
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.readpreference;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/bsonserialize.xml b/reference/mongodb/mongodb/driver/readpreference/bsonserialize.xml
deleted file mode 100644
index f445edc0f..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/bsonserialize.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::bsonSerialize
- Returns an object for BSON serialization
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\ReadPreference::bsonSerialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an object for serializing the ReadPreference as BSON.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::bsonSerialize with primary read preference
-
-bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($rp));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(7) "primary"
-}
-
-{ "mode" : "primary" }
-]]>
-
-
-
- MongoDB\Driver\ReadPreference::bsonSerialize with secondary read preference and tag sets
-
- 'ny'],
- ['dc' => 'sf', 'use' => 'reporting'],
- []
- ]
-);
-var_dump($rp->bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($rp));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(9) "secondary"
- ["tags"]=>
- array(3) {
- [0]=>
- object(stdClass)#1 (1) {
- ["dc"]=>
- string(2) "ny"
- }
- [1]=>
- object(stdClass)#5 (2) {
- ["dc"]=>
- string(2) "sf"
- ["use"]=>
- string(9) "reporting"
- }
- [2]=>
- object(stdClass)#4 (0) {
- }
- }
-}
-
-{ "mode" : "secondary", "tags" : [ { "dc" : "ny" }, { "dc" : "sf", "use" : "reporting" }, { } ] }
-]]>
-
-
-
- MongoDB\Driver\ReadPreference::bsonSerialize with secondary read preference and max staleness
-
- 120]
-);
-var_dump($rp->bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($rp));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(9) "secondary"
- ["maxStalenessSeconds"]=>
- int(120)
-}
-
-{ "mode" : "secondary", "maxStalenessSeconds" : 120 }
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\Serializable::bsonSerialize
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/construct.xml b/reference/mongodb/mongodb/driver/readpreference/construct.xml
deleted file mode 100644
index a156036ea..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/construct.xml
+++ /dev/null
@@ -1,329 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::__construct
- Create a new ReadPreference
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ReadPreference::__construct
- stringintmode
- arraytagSets&null;
- arrayoptionsarray()
-
-
- Constructs a new MongoDB\Driver\ReadPreference, which
- is an immutable value object.
-
-
-
-
- &reftitle.parameters;
-
-
- mode
-
-
-
- Read preference mode
-
-
-
- Value
- Description
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_PRIMARY or "primary"
-
-
- All operations read from the current replica set primary. This is
- the default read preference for MongoDB.
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED or "primaryPreferred"
-
-
- In most situations, operations read from the primary but if it is
- unavailable, operations read from secondary members.
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_SECONDARY or "secondary"
-
-
- All operations read from the secondary members of the replica set.
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED or "secondaryPreferred"
-
-
- In most situations, operations read from secondary members but if no
- secondary members are available, operations read from the primary.
-
-
-
-
- MongoDB\Driver\ReadPreference::RP_NEAREST or "nearest"
-
-
- Operations read from member of the replica set with the least
- network latency, irrespective of the member's type.
-
-
-
-
-
-
-
-
-
-
- tagSets
-
-
- Tag sets allow you to target read operations to specific members of a
- replica set. This parameter should be an array of associative arrays, each
- of which contain zero or more key/value pairs. When selecting a server for
- a read operation, the driver attempt to select a node having all tags in a
- set (i.e. the associative array of key/value pairs). If selection fails,
- the driver will attempt subsequent sets. An empty tag set
- (array()) will match any node and may be used as a
- fallback.
-
-
- Tags are not compatible with the
- MongoDB\Driver\ReadPreference::RP_PRIMARY mode and,
- in general, only apply when selecting a secondary member of a set for a
- read operation. However, the
- MongoDB\Driver\ReadPreference::RP_NEAREST mode, when
- combined with a tag set, selects the matching member with the lowest
- network latency. This member may be a primary or secondary.
-
-
-
-
- options
-
-
-
- options
-
-
-
- Option
- Type
- Description
-
-
-
-
- hedge
- objectarray
-
- Specifies whether to use hedged reads, which are supported by MongoDB 4.4+ for sharded queries.
-
- Server hedged reads are available for all non-primary read preferences
- and are enabled by default when using the "nearest"
- mode. This option allows explicitly enabling server hedged reads for
- non-primary read preferences by specifying
- ['enabled' => true], or explicitly disabling
- server hedged reads for the "nearest" read
- preference by specifying ['enabled' => false].
-
-
-
-
- maxStalenessSeconds
- int
-
-
- Specifies a maximum replication lag, or "staleness", for reads from
- secondaries. When a secondary's estimated staleness exceeds
- this value, the driver stops using it for read operations.
-
-
- If specified, the max staleness must be a signed 32-bit integer
- greater than or equal to
- MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS.
-
-
- Defaults to
- MongoDB\Driver\ReadPreference::NO_MAX_STALENESS,
- which means that the driver will not consider a secondary's lag
- when choosing where to direct a read operation.
-
-
- This option is not compatible with the
- MongoDB\Driver\ReadPreference::RP_PRIMARY mode.
- Specifying a max staleness also requires all MongoDB instances in
- the deployment to be using MongoDB 3.4+. An exception will be thrown
- at execution time if any MongoDB instances in the deployment are of
- an older server version.
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\InvalidArgumentException if mode is invalid.
- Throws MongoDB\Driver\Exception\InvalidArgumentException if tagSets is provided for a primary read preference or is malformed (i.e. not an array of zero or more documents).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the "maxStalenessSeconds" option is provided for a primary read preference or is out of range.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.8.0
-
- Added the "hedge" option.
-
-
-
- PECL mongodb 1.3.0
-
-
- The mode argument now accepts a string value,
- which is consistent with the "readPreference" URI
- option for MongoDB\Driver\Manager::__construct.
-
-
-
-
- PECL mongodb 1.2.0
-
-
- Added a third options argument, which supports
- the "maxStalenessSeconds" option.
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::__construct example
-
- 'ny']]));
-
-/* Require a secondary node whose replication lag is within two minutes of the primary */
-var_dump(new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY, null, ['maxStalenessSeconds' => 120]));
-
-/* Explicitly enable server hedged reads */
-var_dump(new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY, null, ['hedge' => ['enabled' => true]]));
-
-?>
-]]>
-
- &example.outputs;
-
-
- string(18) "secondaryPreferred"
-}
-object(MongoDB\Driver\ReadPreference)#1 (2) {
- ["mode"]=>
- string(7) "nearest"
- ["tags"]=>
- array(1) {
- [0]=>
- object(stdClass)#2 (1) {
- ["dc"]=>
- string(2) "ny"
- }
- }
-}
-object(MongoDB\Driver\ReadPreference)#1 (2) {
- ["mode"]=>
- string(9) "secondary"
- ["maxStalenessSeconds"]=>
- int(120)
-}
-object(MongoDB\Driver\ReadPreference)#1 (2) {
- ["mode"]=>
- string(9) "secondary"
- ["hedge"]=>
- object(stdClass)#1 (1) {
- ["enabled"]=>
- bool(true)
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/gethedge.xml b/reference/mongodb/mongodb/driver/readpreference/gethedge.xml
deleted file mode 100644
index 60ae07207..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/gethedge.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::getHedge
- Returns the ReadPreference's "hedge" option
-
-
-
- &reftitle.description;
-
- finalpublicobjectnullMongoDB\Driver\ReadPreference::getHedge
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadPreference's "hedge" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/getmaxstalenessseconds.xml b/reference/mongodb/mongodb/driver/readpreference/getmaxstalenessseconds.xml
deleted file mode 100644
index a03e35547..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/getmaxstalenessseconds.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
- Returns the ReadPreference's "maxStalenessSeconds" option
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\ReadPreference::getMaxStalenessSeconds
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadPreference's "maxStalenessSeconds" option. If no max
- staleness has been specified,
- MongoDB\Driver\ReadPreference::NO_MAX_STALENESS will be
- returned.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::getMaxStalenessSeconds example
-
-getMaxStalenessSeconds());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY, null, [
- 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference::NO_MAX_STALENESS,
-]);
-var_dump($rp->getMaxStalenessSeconds());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY, null, [
- 'maxStalenessSeconds' => MongoDB\Driver\ReadPreference::SMALLEST_MAX_STALENESS_SECONDS,
-]);
-var_dump($rp->getMaxStalenessSeconds());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY, null, [
- 'maxStalenessSeconds' => 1000,
-]);
-var_dump($rp->getMaxStalenessSeconds());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/getmode.xml b/reference/mongodb/mongodb/driver/readpreference/getmode.xml
deleted file mode 100644
index fd3aefdcb..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/getmode.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::getMode
- Returns the ReadPreference's "mode" option
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\ReadPreference::getMode
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadPreference's "mode" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::getMode example
-
-getMode());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED);
-var_dump($rp->getMode());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY);
-var_dump($rp->getMode());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED);
-var_dump($rp->getMode());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_NEAREST);
-var_dump($rp->getMode());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadPreference::getModeString
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/getmodestring.xml b/reference/mongodb/mongodb/driver/readpreference/getmodestring.xml
deleted file mode 100644
index 5da58e612..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/getmodestring.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::getModeString
- Returns the ReadPreference's "mode" option as a string
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ReadPreference::getModeString
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadPreference's "mode" option as a string.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::getModeString example
-
-getModeString());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::PRIMARY_PREFERRED);
-var_dump($rp->getModeString());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::SECONDARY);
-var_dump($rp->getModeString());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED);
-var_dump($rp->getModeString());
-
-$rp = new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::NEAREST);
-var_dump($rp->getModeString());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadPreference::getMode
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/gettagsets.xml b/reference/mongodb/mongodb/driver/readpreference/gettagsets.xml
deleted file mode 100644
index b4b866445..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/gettagsets.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::getTagSets
- Returns the ReadPreference's "tagSets" option
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\ReadPreference::getTagSets
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the ReadPreference's "tagSets" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\ReadPreference::getTagSets example
-
-getTagSets());
-
-$rp = new MongoDB\Driver\ReadPreference($mode, []);
-var_dump($rp->getTagSets());
-
-/* Prefer a node in New York, but fall back to any available node. */
-$rp = new MongoDB\Driver\ReadPreference($mode, [['dc' => 'ny']]);
-var_dump($rp->getTagSets());
-
-/* Prefer a node in the New York, followed by a node in San Francisco that is
- labeled for reporting usage, and finally fall back to any available node. */
-$rp = new MongoDB\Driver\ReadPreference($mode, [
- ['dc' => 'ny'],
- ['dc' => 'sf', 'use' => 'reporting'],
- [],
-]);
-var_dump($rp->getTagSets());
-
-?>
-]]>
-
- &example.outputs;
-
-
- array(1) {
- ["dc"]=>
- string(2) "ny"
- }
- [1]=>
- array(0) {
- }
-}
-array(3) {
- [0]=>
- array(1) {
- ["dc"]=>
- string(2) "ny"
- }
- [1]=>
- array(2) {
- ["dc"]=>
- string(2) "sf"
- ["use"]=>
- string(9) "reporting"
- }
- [2]=>
- array(0) {
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- Read Preference reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/serialize.xml b/reference/mongodb/mongodb/driver/readpreference/serialize.xml
deleted file mode 100644
index 5e0746084..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/serialize.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::serialize
- Serialize a ReadPreference
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ReadPreference::serialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the serialized representation of the
- MongoDB\Driver\ReadPreference.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadPreference::unserialize
- serialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/readpreference/unserialize.xml b/reference/mongodb/mongodb/driver/readpreference/unserialize.xml
deleted file mode 100644
index acfa81b60..000000000
--- a/reference/mongodb/mongodb/driver/readpreference/unserialize.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ReadPreference::unserialize
- Unserialize a ReadPreference
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\ReadPreference::unserialize
- stringserialized
-
-
-
-
- &reftitle.parameters;
-
-
-
- serialized
-
-
- The serialized MongoDB\Driver\ReadPreference.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the properties are invalid (e.g. missing fields or invalid values).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ReadPreference::serialize
- unserialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server.xml b/reference/mongodb/mongodb/driver/server.xml
deleted file mode 100644
index 0d68c2f29..000000000
--- a/reference/mongodb/mongodb/driver/server.xml
+++ /dev/null
@@ -1,239 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Server class
- MongoDB\Driver\Server
-
-
-
-
-
- &reftitle.intro;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Server
-
-
-
- final
-
- MongoDB\Driver\Server
-
-
-
- Constants
-
- const
- int
- MongoDB\Driver\Server::TYPE_UNKNOWN
- 0
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_STANDALONE
- 1
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_MONGOS
- 2
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_POSSIBLE_PRIMARY
- 3
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_RS_PRIMARY
- 4
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_RS_SECONDARY
- 5
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_RS_ARBITER
- 6
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_RS_OTHER
- 7
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_RS_GHOST
- 8
-
-
- const
- int
- MongoDB\Driver\Server::TYPE_LOAD_BALANCER
- 9
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\Server::TYPE_UNKNOWN
-
- Unknown server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_STANDALONE
-
- Standalone server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_MONGOS
-
- Mongos server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_POSSIBLE_PRIMARY
-
- Replica set possible primary server type, returned by MongoDB\Driver\Server::getType.
- A server may be identified as a possible primary if it has not yet been checked but another memory of the replica set thinks it is the primary.
-
-
-
-
- MongoDB\Driver\Server::TYPE_RS_PRIMARY
-
- Replica set primary server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_RS_SECONDARY
-
- Replica set secondary server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_RS_ARBITER
-
- Replica set arbiter server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
- MongoDB\Driver\Server::TYPE_RS_OTHER
-
- Replica set other server type, returned by MongoDB\Driver\Server::getType.
- Such servers may be hidden, starting up, or recovering. They cannot be queried, but their hosts lists are useful for discovering the current replica set configuration.
-
-
-
-
- MongoDB\Driver\Server::TYPE_RS_GHOST
-
- Replica set ghost server type, returned by MongoDB\Driver\Server::getType.
- Servers may be identified as such in at least three situations: briefly during server startup; in an uninitialized replica set; or when the server is shunned (i.e. removed from the replica set config). They cannot be queried, nor can their host list be used to discover the current replica set configuration; however, the client may monitor this server in hope that it transitions to a more useful state.
-
-
-
-
- MongoDB\Driver\Server::TYPE_LOAD_BALANCER
-
- Load balancer server type, returned by MongoDB\Driver\Server::getType.
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
-
- Added the
- MongoDB\Driver\Server::TYPE_LOAD_BALANCER
- constant.
-
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.server;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/construct.xml b/reference/mongodb/mongodb/driver/server/construct.xml
deleted file mode 100644
index 37308e095..000000000
--- a/reference/mongodb/mongodb/driver/server/construct.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::__construct
- Create a new Server (not used)
-
-
-
- &reftitle.description;
-
- finalprivateMongoDB\Driver\Server::__construct
-
-
-
- MongoDB\Driver\Server objects are created internally
- by MongoDB\Driver\Manager when a database connection
- is established and may be returned by
- MongoDB\Driver\Manager::getServers and
- MongoDB\Driver\Manager::selectServer.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::getServers
- MongoDB\Driver\Manager::selectServer
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/executebulkwrite.xml b/reference/mongodb/mongodb/driver/server/executebulkwrite.xml
deleted file mode 100644
index 4cba2fe5d..000000000
--- a/reference/mongodb/mongodb/driver/server/executebulkwrite.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::executeBulkWrite
- Execute one or more write operations on this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteResultMongoDB\Driver\Server::executeBulkWrite
- stringnamespace
- MongoDB\Driver\BulkWritebulk
- arrayoptionsarray()
-
-
- Executes one or more write operations on this server.
-
-
- A MongoDB\Driver\BulkWrite can be constructed with
- one or more write operations of varying types (e.g. updates, deletes, and
- inserts). The driver will attempt to send operations of the same type to the
- server in as few requests as possible to optimize round trips.
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.namespace;
- &mongodb.parameter.bulkwrite;
-
- options
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.writeresult;
-
-
-
- &reftitle.errors;
-
- Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk does not contain any write operations.
- Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk has already been executed. MongoDB\Driver\BulkWrite objects may not be executed multiple times.
- &mongodb.throws.session-unacknowledged;
- &mongodb.throws.std;
- &mongodb.throws.bulkwriteexception;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.4
-
- MongoDB\Driver\Exception\InvalidArgumentException
- will be thrown if the "session" option is used in
- combination with an unacknowledged write concern.
-
-
-
- PECL mongodb 1.4.0
-
- The third parameter is now an options array.
- For backwards compatibility, this paramater will still accept a
- MongoDB\Driver\WriteConcern object.
-
-
-
- PECL mongodb 1.3.0
-
- MongoDB\Driver\Exception\InvalidArgumentException
- is now thrown if bulk does not contain any write
- operations. Previously, a
- MongoDB\Driver\Exception\BulkWriteException was
- thrown.
-
-
-
-
-
-
-
-
-
- &reftitle.notes;
- &mongodb.note.server.write;
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\BulkWrite
- MongoDB\Driver\WriteResult
- MongoDB\Driver\WriteConcern
- MongoDB\Driver\Manager::executeBulkWrite
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/executecommand.xml b/reference/mongodb/mongodb/driver/server/executecommand.xml
deleted file mode 100644
index 8e703553c..000000000
--- a/reference/mongodb/mongodb/driver/server/executecommand.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::executeCommand
- Execute a database command on this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\CursorMongoDB\Driver\Server::executeCommand
- stringdb
- MongoDB\Driver\Commandcommand
- arrayoptionsarray()
-
-
- Executes the command on this server.
-
-
- This method applies no special logic to the command. Although this method
- accepts "readConcern" and
- "writeConcern" options, which will be incorporated into
- the command document, those options will not default to corresponding values
- from the MongoDB
- Connection URI nor will the MongoDB server version be taken into
- account. Users are therefore encouraged to use specific read and/or write
- command methods if possible.
-
- &mongodb.note.server.readpreference;
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.db;
- &mongodb.parameter.command;
-
- options
-
-
-
-
- &mongodb.option.transactionReadWriteConcern;
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.cursor;
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.session-readwriteconcern;
- &mongodb.throws.session-unacknowledged;
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid command, issuing a write command to a secondary).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.4
-
- MongoDB\Driver\Exception\InvalidArgumentException
- will be thrown if the "session" option is used in
- combination with an unacknowledged write concern.
-
-
-
- PECL mongodb 1.4.0
-
- The third parameter is now an options array.
- For backwards compatibility, this paramater will still accept a
- MongoDB\Driver\ReadPreference object.
-
-
-
-
-
-
-
-
-
- &reftitle.notes;
- &mongodb.note.server.write;
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Command
- MongoDB\Driver\Cursor
- MongoDB\Driver\Server::executeReadCommand
- MongoDB\Driver\Server::executeReadWriteCommand
- MongoDB\Driver\Server::executeWriteCommand
- MongoDB\Driver\Manager::executeCommand
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/executequery.xml b/reference/mongodb/mongodb/driver/server/executequery.xml
deleted file mode 100644
index 2b5b6c51e..000000000
--- a/reference/mongodb/mongodb/driver/server/executequery.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::executeQuery
- Execute a database query on this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\CursorMongoDB\Driver\Server::executeQuery
- stringnamespace
- MongoDB\Driver\Queryquery
- arrayoptionsarray()
-
-
- Executes the query on this server.
-
-
-
- The "readPreference" option does not control the server
- to which the driver issues the operation; it will always be executed on
- this server object. Instead, it may be used when issuing the operation to a
- secondary (from a replica set connection, not standalone) or mongos node to
- ensure that the driver sets the wire protocol accordingly or adds the read
- preference to the operation, respectively.
-
-
-
-
-
- &reftitle.parameters;
-
- &mongodb.parameter.namespace;
- &mongodb.parameter.query;
-
- options
-
-
-
-
- &mongodb.option.transactionReadWriteConcern;
-
-
-
-
-
-
- &reftitle.returnvalues;
- &mongodb.returns.cursor;
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.session-readwriteconcern;
- &mongodb.throws.session-unacknowledged;
- &mongodb.throws.std;
- Throws MongoDB\Driver\Exception\RuntimeException on other errors (e.g. invalid command).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.4.4
-
- MongoDB\Driver\Exception\InvalidArgumentException
- will be thrown if the "session" option is used in
- combination with an unacknowledged write concern.
-
-
-
-
-
-
-
-
-
- &reftitle.notes;
- &mongodb.note.server.write;
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Command
- MongoDB\Driver\Cursor
- MongoDB\Driver\Server::executeCommand
- MongoDB\Driver\Server::executeReadCommand
- MongoDB\Driver\Server::executeReadWriteCommand
- MongoDB\Driver\Manager::executeWriteCommand
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/gethost.xml b/reference/mongodb/mongodb/driver/server/gethost.xml
deleted file mode 100644
index 20e86df1e..000000000
--- a/reference/mongodb/mongodb/driver/server/gethost.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getHost
- Returns the hostname of this server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Server::getHost
-
-
-
- Returns the hostname of this server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Server::getHost example
-
-selectServer($rp);
-
-var_dump($server->getHost());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
- MongoDB\Driver\ServerDescription::getHost
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/getinfo.xml b/reference/mongodb/mongodb/driver/server/getinfo.xml
deleted file mode 100644
index a5fa549b0..000000000
--- a/reference/mongodb/mongodb/driver/server/getinfo.xml
+++ /dev/null
@@ -1,262 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getInfo
- Returns an array of information describing this server
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\Server::getInfo
-
-
-
- Returns an array of information describing the server. This array is derived
- from the most recent
- hello
- command response obtained through
- server monitoring.
-
-
-
- When the driver is connected to a load balancer, this method will return
- the backing server's
- hello
- command response from the initial connection handshake. This is in contrast
- to other methods (e.g. MongoDB\Driver\Server::getType),
- which will return information about the load balancer itself.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of information describing this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Server::getInfo example
-
-selectServer($rp);
-
-var_dump($server->getInfo());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- bool(true)
- ["topologyVersion"]=>
- array(2) {
- ["processId"]=>
- object(MongoDB\BSON\ObjectId)#4 (1) {
- ["oid"]=>
- string(24) "617b6d696a3a89d2f77e6df0"
- }
- ["counter"]=>
- int(6)
- }
- ["hosts"]=>
- array(1) {
- [0]=>
- string(15) "localhost:27017"
- }
- ["setName"]=>
- string(3) "rs0"
- ["setVersion"]=>
- int(1)
- ["ismaster"]=>
- bool(true)
- ["secondary"]=>
- bool(false)
- ["primary"]=>
- string(15) "localhost:27017"
- ["me"]=>
- string(15) "localhost:27017"
- ["electionId"]=>
- object(MongoDB\BSON\ObjectId)#5 (1) {
- ["oid"]=>
- string(24) "7fffffff0000000000000001"
- }
- ["lastWrite"]=>
- array(4) {
- ["opTime"]=>
- array(2) {
- ["ts"]=>
- object(MongoDB\BSON\Timestamp)#6 (2) {
- ["increment"]=>
- string(1) "1"
- ["timestamp"]=>
- string(10) "1635478989"
- }
- ["t"]=>
- int(1)
- }
- ["lastWriteDate"]=>
- object(MongoDB\BSON\UTCDateTime)#7 (1) {
- ["milliseconds"]=>
- string(13) "1635478989000"
- }
- ["majorityOpTime"]=>
- array(2) {
- ["ts"]=>
- object(MongoDB\BSON\Timestamp)#8 (2) {
- ["increment"]=>
- string(1) "1"
- ["timestamp"]=>
- string(10) "1635478989"
- }
- ["t"]=>
- int(1)
- }
- ["majorityWriteDate"]=>
- object(MongoDB\BSON\UTCDateTime)#9 (1) {
- ["milliseconds"]=>
- string(13) "1635478989000"
- }
- }
- ["maxBsonObjectSize"]=>
- int(16777216)
- ["maxMessageSizeBytes"]=>
- int(48000000)
- ["maxWriteBatchSize"]=>
- int(100000)
- ["localTime"]=>
- object(MongoDB\BSON\UTCDateTime)#10 (1) {
- ["milliseconds"]=>
- string(13) "1635478992136"
- }
- ["logicalSessionTimeoutMinutes"]=>
- int(30)
- ["connectionId"]=>
- int(3)
- ["minWireVersion"]=>
- int(0)
- ["maxWireVersion"]=>
- int(13)
- ["readOnly"]=>
- bool(false)
- ["ok"]=>
- float(1)
- ["$clusterTime"]=>
- array(2) {
- ["clusterTime"]=>
- object(MongoDB\BSON\Timestamp)#11 (2) {
- ["increment"]=>
- string(1) "1"
- ["timestamp"]=>
- string(10) "1635478989"
- }
- ["signature"]=>
- array(2) {
- ["hash"]=>
- object(MongoDB\BSON\Binary)#12 (2) {
- ["data"]=>
- string(20) ""
- ["type"]=>
- int(0)
- }
- ["keyId"]=>
- int(0)
- }
- }
- ["operationTime"]=>
- object(MongoDB\BSON\Timestamp)#13 (2) {
- ["increment"]=>
- string(1) "1"
- ["timestamp"]=>
- string(10) "1635478989"
- }
-}
-]]>
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
- When the driver is connected to a load balancer, this method returns
- the backing server's hello command response from the
- initial connection handshake.
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ServerDescription::getHelloResponse
- hello command in the MongoDB manual
- Server Discovery and Monitoring Specification
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/getlatency.xml b/reference/mongodb/mongodb/driver/server/getlatency.xml
deleted file mode 100644
index 8e13d734a..000000000
--- a/reference/mongodb/mongodb/driver/server/getlatency.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getLatency
- Returns the latency of this server in milliseconds
-
-
-
- &reftitle.description;
-
- finalpublicintegernullMongoDB\Driver\Server::getLatency
-
-
-
- Returns the latency of this server in milliseconds. This is the client's
- measured
- round trip time
- of a hello command.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the latency of this server in milliseconds, or &null; if no latency
- has been measured (e.g. client is connected to a load balancer).
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.11.0
-
- This method will return &null; if no latency has been measured. In
- earlier versions, an integer was always returned and an unset value
- might be reported as -1.
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Server::getLatency example
-
-selectServer($rp);
-
-var_dump($server->getLatency());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
- MongoDB\Driver\ServerDescription::getRoundTripTime
- Server Discovery and Monitoring Specification
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/getport.xml b/reference/mongodb/mongodb/driver/server/getport.xml
deleted file mode 100644
index 15e1fe1bb..000000000
--- a/reference/mongodb/mongodb/driver/server/getport.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Server::getPort
-
-
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\Server::getPort example
-
-selectServer($rp);
-
-var_dump($server->getPort());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
- MongoDB\Driver\ServerDescription::getPort
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/getserverdescription.xml b/reference/mongodb/mongodb/driver/server/getserverdescription.xml
deleted file mode 100644
index 614548fd5..000000000
--- a/reference/mongodb/mongodb/driver/server/getserverdescription.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getServerDescription
- Returns a ServerDescription for this server
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerDescriptionMongoDB\Driver\Server::getServerDescription
-
-
-
- Returns a MongoDB\Driver\ServerDescription for this
- server. This is an immutable value object that will describe the server at
- the time this method is called.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a MongoDB\Driver\ServerDescription for this
- server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/gettags.xml b/reference/mongodb/mongodb/driver/server/gettags.xml
deleted file mode 100644
index 838d5667f..000000000
--- a/reference/mongodb/mongodb/driver/server/gettags.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getTags
- Returns an array of tags describing this server in a replica set
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\Server::getTags
-
-
-
- Returns an array of
- tags used to
- describe this server in a replica set. The array will contain zero or more
- string key and value pairs.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of tags used to describe this server in a
- replica set.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/gettype.xml b/reference/mongodb/mongodb/driver/server/gettype.xml
deleted file mode 100644
index f45d9cbe1..000000000
--- a/reference/mongodb/mongodb/driver/server/gettype.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::getType
- Returns an integer denoting the type of this server
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\Server::getType
-
-
-
- Returns an int denoting the type of this server. The value
- will correlate with a MongoDB\Driver\Server constant.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an int denoting the type of this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
- MongoDB\Driver\ServerDescription::getType
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/isarbiter.xml b/reference/mongodb/mongodb/driver/server/isarbiter.xml
deleted file mode 100644
index b4f2253d4..000000000
--- a/reference/mongodb/mongodb/driver/server/isarbiter.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::isArbiter
- Checks if this server is an arbiter member of a replica set
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Server::isArbiter
-
-
-
- Returns whether this server is an
- arbiter member
- of a replica set.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this server is an arbiter member of a replica set, and
- &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/ishidden.xml b/reference/mongodb/mongodb/driver/server/ishidden.xml
deleted file mode 100644
index 7b9024be3..000000000
--- a/reference/mongodb/mongodb/driver/server/ishidden.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::isHidden
- Checks if this server is a hidden member of a replica set
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Server::isHidden
-
-
-
- Returns whether this server is a
- hidden member
- of a replica set.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this server is a hidden member of a replica set, and
- &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/ispassive.xml b/reference/mongodb/mongodb/driver/server/ispassive.xml
deleted file mode 100644
index d77ecb3d4..000000000
--- a/reference/mongodb/mongodb/driver/server/ispassive.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::isPassive
- Checks if this server is a passive member of a replica set
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Server::isPassive
-
-
-
- Returns whether this server is a
- passive member
- of a replica set (i.e. its priority is 0).
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this server is a passive member of a replica set, and
- &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/isprimary.xml b/reference/mongodb/mongodb/driver/server/isprimary.xml
deleted file mode 100644
index 2cfa9ffe7..000000000
--- a/reference/mongodb/mongodb/driver/server/isprimary.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::isPrimary
- Checks if this server is a primary member of a replica set
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Server::isPrimary
-
-
-
- Returns whether this server is a
- primary member
- of a replica set.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this server is a primary member of a replica set, and
- &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/server/issecondary.xml b/reference/mongodb/mongodb/driver/server/issecondary.xml
deleted file mode 100644
index 2e987ebd6..000000000
--- a/reference/mongodb/mongodb/driver/server/issecondary.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Server::isSecondary
- Checks if this server is a secondary member of a replica set
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Server::isSecondary
-
-
-
- Returns whether this server is a
- secondary member
- of a replica set.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this server is a secondary member of a replica set, and
- &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverapi.xml b/reference/mongodb/mongodb/driver/serverapi.xml
deleted file mode 100644
index 2888e796a..000000000
--- a/reference/mongodb/mongodb/driver/serverapi.xml
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\ServerApi class
- MongoDB\Driver\ServerApi
-
-
-
-
-
- &reftitle.intro;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\ServerApi
-
-
-
- final
-
- MongoDB\Driver\ServerApi
-
-
- MongoDB\BSON\Serializable
-
-
-
- Serializable
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\ServerAPI::V1
- "1"
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\ServerApi::V1
-
- Server API version 1.
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
-
- Declare an API version on a manager
-
- $v1]);
-
-$command = new MongoDB\Driver\Command(['buildInfo' => 1]);
-
-try {
- $cursor = $manager->executeCommand('admin', $command);
-} catch(MongoDB\Driver\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-
-/* The buildInfo command returns a single result document, so we need to access
- * the first result in the cursor. */
-$buildInfo = $cursor->toArray()[0];
-
-echo $buildInfo->version, "\n";
-
-?>
-]]>
-
-
- &example.outputs;
-
-
-
-
-
-
- Declare a strict API version on a manager
-
- The following example sets the strict flag, which
- tells the server to reject any command that is not part of the declared API
- version. This results in an error when running the buildInfo command.
-
-
- $v1]);
-
-$command = new MongoDB\Driver\Command(['buildInfo' => 1]);
-
-try {
- $cursor = $manager->executeCommand('admin', $command);
-} catch(MongoDB\Driver\Exception $e) {
- echo $e->getMessage(), "\n";
- exit;
-}
-
-/* The buildInfo command returns a single result document, so we need to access
- * the first result in the cursor. */
-$buildInfo = $cursor->toArray()[0];
-
-echo $buildInfo->version, "\n";
-
-?>
-]]>
-
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.serverapi;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverapi/bsonserialize.xml b/reference/mongodb/mongodb/driver/serverapi/bsonserialize.xml
deleted file mode 100644
index c200ba257..000000000
--- a/reference/mongodb/mongodb/driver/serverapi/bsonserialize.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerApi::bsonSerialize
- Returns an object for BSON serialization
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\ServerApi::bsonSerialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an object for serializing the ServerApi as BSON.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\Serializable::bsonSerialize
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverapi/construct.xml b/reference/mongodb/mongodb/driver/serverapi/construct.xml
deleted file mode 100644
index 63e7f81d0..000000000
--- a/reference/mongodb/mongodb/driver/serverapi/construct.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerApi::__construct
- Create a new ServerApi instance
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerApi::__construct
- stringversion
- boolstrict&null;
- booldeprecationErrors&null;
-
-
-
- Creates a new MongoDB\Driver\ServerApi instance used to
- declare an API version when creating a
- MongoDB\Driver\Manager.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverapi/serialize.xml b/reference/mongodb/mongodb/driver/serverapi/serialize.xml
deleted file mode 100644
index 1882c23bd..000000000
--- a/reference/mongodb/mongodb/driver/serverapi/serialize.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerApi::serialize
- Serialize a ServerApi
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ServerApi::serialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the serialized representation of the
- MongoDB\Driver\ServerApi.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ServerApi::unserialize
- serialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverapi/unserialize.xml b/reference/mongodb/mongodb/driver/serverapi/unserialize.xml
deleted file mode 100644
index 544e3df3f..000000000
--- a/reference/mongodb/mongodb/driver/serverapi/unserialize.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerApi::unserialize
- Unserialize a ServerApi
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\ServerApi::unserialize
- stringserialized
-
-
-
-
- &reftitle.parameters;
-
-
-
- serialized
-
-
- The serialized MongoDB\Driver\ServerApi.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the properties are invalid (e.g. missing fields or invalid values).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\ServerApi::serialize
- unserialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription.xml b/reference/mongodb/mongodb/driver/serverdescription.xml
deleted file mode 100644
index 858b391cb..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription.xml
+++ /dev/null
@@ -1,215 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\ServerDescription class
- MongoDB\Driver\ServerDescription
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\ServerDescription class is a value
- object that represents a server to which the driver is connected. Instances
- of this class are returned by
- MongoDB\Driver\Server::getServerDescription and
- MongoDB\Driver\Monitoring\ServerChangedEvent methods.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\ServerDescription
-
-
-
- final
-
- MongoDB\Driver\ServerDescription
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_UNKNOWN
- "Unknown"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_STANDALONE
- "Standalone"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_MONGOS
- "Mongos"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_POSSIBLE_PRIMARY
- "PossiblePrimary"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_RS_PRIMARY
- "RSPrimary"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_RS_SECONDARY
- "RSSecondary"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_RS_ARBITER
- "RSArbiter"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_RS_OTHER
- "RSOther"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_RS_GHOST
- "RSGhost"
-
-
- const
- string
- MongoDB\Driver\ServerDescription::TYPE_LOAD_BALANCER
- "LoadBalancer"
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_UNKNOWN
-
- Unknown server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_STANDALONE
-
- Standalone server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_MONGOS
-
- Mongos server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_POSSIBLE_PRIMARY
-
- Replica set possible primary server type, returned by MongoDB\Driver\ServerDescription::getType.
- A server may be identified as a possible primary if it has not yet been checked but another memory of the replica set thinks it is the primary.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_RS_PRIMARY
-
- Replica set primary server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_RS_SECONDARY
-
- Replica set secondary server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_RS_ARBITER
-
- Replica set arbiter server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_RS_OTHER
-
- Replica set other server type, returned by MongoDB\Driver\ServerDescription::getType.
- Such servers may be hidden, starting up, or recovering. They cannot be queried, but their hosts lists are useful for discovering the current replica set configuration.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_RS_GHOST
-
- Replica set ghost server type, returned by MongoDB\Driver\ServerDescription::getType.
- Servers may be identified as such in at least three situations: briefly during server startup; in an uninitialized replica set; or when the server is shunned (i.e. removed from the replica set config). They cannot be queried, nor can their host list be used to discover the current replica set configuration; however, the client may monitor this server in hope that it transitions to a more useful state.
-
-
-
-
- MongoDB\Driver\ServerDescription::TYPE_LOAD_BALANCER
-
- Load balancer server type, returned by MongoDB\Driver\ServerDescription::getType.
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.serverdescription;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/gethelloresponse.xml b/reference/mongodb/mongodb/driver/serverdescription/gethelloresponse.xml
deleted file mode 100644
index d019db75b..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/gethelloresponse.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getHelloResponse
- Returns the server's most recent "hello" response
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\ServerDescription::getHelloResponse
-
-
-
- Returns an array of information describing the server. This array is derived
- from the most recent (at the time the
- MongoDB\Driver\ServerDescription was constructed)
- hello
- command response obtained through
- server monitoring.
-
-
-
- When the driver is connected to a load balancer, this method will return an
- empty array since load balancers are not monitored. This is in contrast to
- MongoDB\Driver\Server::getInfo, which would return the
- backing server's
- hello
- command response from the initial connection handshake.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of information describing this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getInfo
- hello command in the MongoDB manual
- Server Discovery and Monitoring Specification
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/gethost.xml b/reference/mongodb/mongodb/driver/serverdescription/gethost.xml
deleted file mode 100644
index 499d413b0..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/gethost.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getHost
- Returns the hostname of this server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ServerDescription::getHost
-
-
-
- Returns the hostname of this server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the hostname of this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getHost
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/getlastupdatetime.xml b/reference/mongodb/mongodb/driver/serverdescription/getlastupdatetime.xml
deleted file mode 100644
index b68bbd370..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/getlastupdatetime.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getLastUpdateTime
- Returns the server's last update time in microseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\ServerDescription::getLastUpdateTime
-
-
-
- Returns the server's last update time in microseconds.
-
-
-
- The returned value is a monotonic timestamp, which starts at an arbitrary
- point. As such, it is only suitable to compare with other return values from
- MongoDB\Driver\ServerDescription::getLastUpdateTime.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the server's last update time in microseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/getport.xml b/reference/mongodb/mongodb/driver/serverdescription/getport.xml
deleted file mode 100644
index 3014e18cc..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/getport.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getPort
- Returns the port on which this server is listening
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\ServerDescription::getPort
-
-
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the port on which this server is listening.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getPort
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/getroundtriptime.xml b/reference/mongodb/mongodb/driver/serverdescription/getroundtriptime.xml
deleted file mode 100644
index ca11fd1d5..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/getroundtriptime.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getRoundTripTime
- Returns the server's round trip time in milliseconds
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\ServerDescription::getRoundTripTime
-
-
-
- Returns the server's round trip time in milliseconds. This is the client's
- measurement of the duration of a
- hello
- command.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the server's round trip time in milliseconds.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getLatency
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/serverdescription/gettype.xml b/reference/mongodb/mongodb/driver/serverdescription/gettype.xml
deleted file mode 100644
index 6ff42f78d..000000000
--- a/reference/mongodb/mongodb/driver/serverdescription/gettype.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\ServerDescription::getType
- Returns a string denoting the type of this server
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\ServerDescription::getType
-
-
-
- Returns a string denoting the type of this server. The value
- will correlate with a MongoDB\Driver\ServerDescription
- constant.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a string denoting the type of this server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server::getType
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session.xml b/reference/mongodb/mongodb/driver/session.xml
deleted file mode 100644
index 6005ca9c6..000000000
--- a/reference/mongodb/mongodb/driver/session.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\Session class
- MongoDB\Driver\Session
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\Session class represents a
- client session and is returned by
- MongoDB\Driver\Manager::startSession. Commands,
- queries, and write operations may then be associated the session.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\Session
-
-
-
- final
-
- MongoDB\Driver\Session
-
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\Session::TRANSACTION_NONE
- none
-
-
- const
- string
- MongoDB\Driver\Session::TRANSACTION_STARTING
- starting
-
-
- const
- string
- MongoDB\Driver\Session::TRANSACTION_IN_PROGRESS
- in_progress
-
-
- const
- string
- MongoDB\Driver\Session::TRANSACTION_COMMITTED
- committed
-
-
- const
- string
- MongoDB\Driver\Session::TRANSACTION_ABORTED
- aborted
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\Session::TRANSACTION_NONE
-
-
- There is no transaction in progress.
-
-
-
-
-
- MongoDB\Driver\Session::TRANSACTION_STARTING
-
-
- A transaction has been started, but no operation has been sent to the server.
-
-
-
-
-
- MongoDB\Driver\Session::TRANSACTION_IN_PROGRESS
-
-
- A transaction is in progress.
-
-
-
-
-
- MongoDB\Driver\Session::TRANSACTION_COMMITTED
-
-
- The transaction was committed.
-
-
-
-
-
- MongoDB\Driver\Session::TRANSACTION_ABORTED
-
-
- The transaction was aborted.
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.session;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/aborttransaction.xml b/reference/mongodb/mongodb/driver/session/aborttransaction.xml
deleted file mode 100644
index 5ee7ffa06..000000000
--- a/reference/mongodb/mongodb/driver/session/aborttransaction.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::abortTransaction
- Aborts a transaction
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::abortTransaction
-
-
-
- Terminates the multi-document transaction and rolls back any data changes
- made by the operations within the transaction. That is, the transaction ends
- without saving any of the changes made by the operations in the transaction.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\RuntimeException if the transaction could not be aborted (e.g. a transaction was not started).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::startSession
- MongoDB\Driver\Session::commitTransaction
- MongoDB\Driver\Session::startTransaction
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/advanceclustertime.xml b/reference/mongodb/mongodb/driver/session/advanceclustertime.xml
deleted file mode 100644
index 69362b554..000000000
--- a/reference/mongodb/mongodb/driver/session/advanceclustertime.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::advanceClusterTime
- Advances the cluster time for this session
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::advanceClusterTime
- arrayobjectclusterTime
-
-
- Advances the cluster time for this session. If the cluster time is less than
- or equal to the session's current cluster time, this function is a no-op.
-
-
- By using this method in conjunction with
- MongoDB\Driver\Session::advanceOperationTime to copy
- the cluster and operation times from another session, you can ensure that
- operations in this session are causally consistent with the last operation in
- the other session.
-
-
-
-
- &reftitle.parameters;
-
-
- clusterTime
-
-
- The cluster time is a document containing a logical timestamp and server
- signature. Typically, this value will be obtained by calling
- MongoDB\Driver\Session::getClusterTime on another
- session object.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::advanceOperationTime
- MongoDB\Driver\Session::getClusterTime
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/advanceoperationtime.xml b/reference/mongodb/mongodb/driver/session/advanceoperationtime.xml
deleted file mode 100644
index e7c0fcb48..000000000
--- a/reference/mongodb/mongodb/driver/session/advanceoperationtime.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::advanceOperationTime
- Advances the operation time for this session
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::advanceOperationTime
- MongoDB\BSON\TimestampInterfaceoperationTime
-
-
- Advances the operation time for this session. If the operation time is less
- than or equal to the session's current operation time, this function is a
- no-op.
-
-
- By using this method in conjunction with
- MongoDB\Driver\Session::advanceClusterTime to copy
- the operation and cluster times from another session, you can ensure that
- operations in this session are causally consistent with the last operation in
- the other session.
-
-
-
-
- &reftitle.parameters;
-
-
- operationTime
-
-
- The operation time is a logical timestamp. Typically, this value will be
- obtained by calling
- MongoDB\Driver\Session::getOperationTime on
- another session object.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::advanceClusterTime
- MongoDB\Driver\Session::getClusterTime
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/committransaction.xml b/reference/mongodb/mongodb/driver/session/committransaction.xml
deleted file mode 100644
index 7bfc4e2e7..000000000
--- a/reference/mongodb/mongodb/driver/session/committransaction.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::commitTransaction
- Commits a transaction
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::commitTransaction
-
-
-
- Saves the changes made by the operations in the multi-document transaction
- and ends the transaction. Until the commit, none of the data changes made
- from within the transaction are visible outside the transaction.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws
- MongoDB\Driver\Exception\CommandException if the
- server could not commit the transaction (e.g. due to conflicts, network
- issues). In case the exception's
- MongoDB\Driver\Exception\CommandException::getResultDocument
- has a "errorLabels" element, and this array contains a
- "TransientTransactionError" or
- "UnUnknownTransactionCommitResult" value, it is safe to re-try
- the whole transaction. In newer versions of the
- driver,
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
- should be used to test for this situation instead.
- Throws
- MongoDB\Driver\Exception\RuntimeException if the
- transaction could not be commited (e.g. a transaction was not
- started).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::startSession
- MongoDB\Driver\Session::abortTransaction
- MongoDB\Driver\Session::startTransaction
- MongoDB\Driver\Exception\RuntimeException::hasErrorLabel
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/construct.xml b/reference/mongodb/mongodb/driver/session/construct.xml
deleted file mode 100644
index 5091e5e01..000000000
--- a/reference/mongodb/mongodb/driver/session/construct.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::__construct
- Create a new Session (not used)
-
-
-
- &reftitle.description;
-
- finalprivateMongoDB\Driver\Session::__construct
-
-
-
- MongoDB\Driver\Session objects are returned by
- MongoDB\Driver\Manager::startSession and cannot be
- constructed directly.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::startSession
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/endsession.xml b/reference/mongodb/mongodb/driver/session/endsession.xml
deleted file mode 100644
index 6027039b2..000000000
--- a/reference/mongodb/mongodb/driver/session/endsession.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::endSession
- Terminates a session
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::endSession
-
-
-
- This method closes an existing session. If a transaction was associated
- with this session, the transaction will be aborted. After calling this
- method, applications should not invoke other methods on the session.
-
-
-
- Sessions are also closed during garbage collection. It should not be
- necessary to call this method under normal circumstances.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::startSession
- MongoDB\Driver\Session::abortTransaction
- MongoDB\Driver\Session::commitTransaction
- MongoDB\Driver\Session::startTransaction
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/getclustertime.xml b/reference/mongodb/mongodb/driver/session/getclustertime.xml
deleted file mode 100644
index 4e304cab2..000000000
--- a/reference/mongodb/mongodb/driver/session/getclustertime.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getClusterTime
- Returns the cluster time for this session
-
-
-
- &reftitle.description;
-
- finalpublicobjectnullMongoDB\Driver\Session::getClusterTime
-
-
-
- Returns the cluster time for this session. If the session has not been used
- for any operation and
- MongoDB\Driver\Session::advanceClusterTime has not
- been called, the cluster time will be &null;.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the cluster time for this session, or &null; if the session has no
- cluster time.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::advanceClusterTime
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/getlogicalsessionid.xml b/reference/mongodb/mongodb/driver/session/getlogicalsessionid.xml
deleted file mode 100644
index 96c2eba0a..000000000
--- a/reference/mongodb/mongodb/driver/session/getlogicalsessionid.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getLogicalSessionId
- Returns the logical session ID for this session
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\Session::getLogicalSessionId
-
-
-
- Returns the logical session ID for this session, which may be used to
- identify this session's operations on the server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the logical session ID for this session.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/getoperationtime.xml b/reference/mongodb/mongodb/driver/session/getoperationtime.xml
deleted file mode 100644
index 91b59c531..000000000
--- a/reference/mongodb/mongodb/driver/session/getoperationtime.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getOperationTime
- Returns the operation time for this session
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\BSON\TimestampnullMongoDB\Driver\Session::getOperationTime
-
-
-
- Returns the operation time for this session. If the session has not been used
- for any operation and
- MongoDB\Driver\Session::advanceOperationTime has not
- been called, the operation time will be &null;
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the operation time for this session, or &null; if the session has no
- operation time.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::advanceOperationTime
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/getserver.xml b/reference/mongodb/mongodb/driver/session/getserver.xml
deleted file mode 100644
index 68147c02c..000000000
--- a/reference/mongodb/mongodb/driver/session/getserver.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getServer
- Returns the server to which this session is pinned
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServernullMongoDB\Driver\Session::getServer
-
-
-
- Returns the MongoDB\Driver\Server to which this
- session is pinned. If the session is not pinned to a server, &null; will be
- returned.
-
-
- Session pinning is primarily used for sharded transactions, as all commands
- within a sharded transaction must be sent to the same mongos instance. This
- method is intended to be used by libraries built atop the extension to allow
- use of a pinned server instead of invoking server selection.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server to which this
- session is pinned, or &null; if the session is not pinned to any server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/gettransactionoptions.xml b/reference/mongodb/mongodb/driver/session/gettransactionoptions.xml
deleted file mode 100644
index e9be45346..000000000
--- a/reference/mongodb/mongodb/driver/session/gettransactionoptions.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getTransactionOptions
- Returns options for the currently running transaction
-
-
-
- &reftitle.description;
-
- finalpublicarraynullMongoDB\Driver\Session::getTransactionOptions
-
-
-
- Returns options for the currently running transaction.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a array containing current transaction options, or
- &null; if no transaction is running.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::getTransactionState
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/gettransactionstate.xml b/reference/mongodb/mongodb/driver/session/gettransactionstate.xml
deleted file mode 100644
index aa08a8541..000000000
--- a/reference/mongodb/mongodb/driver/session/gettransactionstate.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::getTransactionState
- Returns the current transaction state for this session
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\Session::getTransactionState
-
-
-
- Returns the transaction state for this session.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the current transaction state for this session.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::isInTransaction
- MongoDB\Driver\Session::getTransactionOptions
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/isdirty.xml b/reference/mongodb/mongodb/driver/session/isdirty.xml
deleted file mode 100644
index be191640b..000000000
--- a/reference/mongodb/mongodb/driver/session/isdirty.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::isDirty
- Returns whether the session has been marked as dirty
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Session::isDirty
-
-
-
- Returns whether the session has been marked as dirty (i.e. it has been used
- with a command that encountered a network error).
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns whether the session has been marked as dirty.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/isintransaction.xml b/reference/mongodb/mongodb/driver/session/isintransaction.xml
deleted file mode 100644
index cf6f95651..000000000
--- a/reference/mongodb/mongodb/driver/session/isintransaction.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::isInTransaction
- Returns whether a multi-document transaction is in progress
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\Session::isInTransaction
-
-
-
- Returns whether a multi-document transaction is currently in progress for
- this session. A transaction is considered "in progress" if it has been
- started but has not been committed or aborted.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if a transaction is currently in progress for this session,
- and &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Session::getTransactionState
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/session/starttransaction.xml b/reference/mongodb/mongodb/driver/session/starttransaction.xml
deleted file mode 100644
index 80ea7f14e..000000000
--- a/reference/mongodb/mongodb/driver/session/starttransaction.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\Session::startTransaction
- Starts a transaction
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\Session::startTransaction
- arrayoptions
-
-
- Starts a multi-document transaction associated with the session. At any given
- time, you can have at most one open transaction for a session. After starting
- a transaction, the session object must be passed to each operation via
- the "session" option (e.g.
- MongoDB\Driver\Manager::executeBulkWrite) in order
- to associate that operation with the transaction.
-
-
- Transactions can be committed through
- MongoDB\Driver\Session::commitTransaction, and
- aborted with
- MongoDB\Driver\Session::abortTransaction.
- Transactions are also automatically aborted when the session is closed from
- garbage collection or by explicitly calling
- MongoDB\Driver\Session::endSession.
-
-
-
-
- &reftitle.parameters;
-
-
- options
-
-
- Options can be passed as argument to this method. Each element in this
- options array overrides the corresponding option from the
- "defaultTransactionOptions" option, if set when
- starting the session with
- MongoDB\Driver\Manager::startSession.
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\CommandException if the transaction could not be started because of a server-side problem (e.g. a lock could not be obtained).
- Throws MongoDB\Driver\Exception\RuntimeException if the transaction could not be started (e.g. a transaction was already started).
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.6.0
-
-
- The "maxCommitTimeMS" option was added.
-
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::startSession
- MongoDB\Driver\Session::commitTransaction
- MongoDB\Driver\Session::abortTransaction
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/topologydescription.xml b/reference/mongodb/mongodb/driver/topologydescription.xml
deleted file mode 100644
index 9107d56a1..000000000
--- a/reference/mongodb/mongodb/driver/topologydescription.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\TopologyDescription class
- MongoDB\Driver\TopologyDescription
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\TopologyDescription class is a
- value object that represents a topology to which the driver is connected.
- Instances of this class are returned by
- MongoDB\Driver\Monitoring\TopologyChangedEvent
- methods.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\TopologyDescription
-
-
-
- final
-
- MongoDB\Driver\TopologyDescription
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_UNKNOWN
- "Unknown"
-
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_SINGLE
- "Single"
-
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_SHARDED
- "Sharded"
-
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_NO_PRIMARY
- "ReplicaSetNoPrimary"
-
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_WITH_PRIMARY
- "ReplicaSetWithPrimary"
-
-
- const
- string
- MongoDB\Driver\TopologyDescription::TYPE_LOAD_BALANCED
- "LoadBalanced"
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_UNKNOWN
-
- Unknown topology type, returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_SINGLE
-
- Single server (i.e. direct connection), returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_SHARDED
-
- Sharded cluster, returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_NO_PRIMARY
-
- Replica set with no primary server, returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_WITH_PRIMARY
-
- Replica set with a primary server, returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
- MongoDB\Driver\TopologyDescription::TYPE_LOAD_BALANCED
-
- Load balanced topology, returned by MongoDB\Driver\TopologyDescription::getType.
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.topologydescription;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/topologydescription/getservers.xml b/reference/mongodb/mongodb/driver/topologydescription/getservers.xml
deleted file mode 100644
index c039cc54d..000000000
--- a/reference/mongodb/mongodb/driver/topologydescription/getservers.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\TopologyDescription::getServers
- Returns the servers in the topology
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\TopologyDescription::getServers
-
-
-
- Returns an array of MongoDB\Driver\ServerDescription
- objects corresponding to the known servers in the topology.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of MongoDB\Driver\ServerDescription
- objects corresponding to the known servers in the topology.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/topologydescription/gettype.xml b/reference/mongodb/mongodb/driver/topologydescription/gettype.xml
deleted file mode 100644
index 6b405dc70..000000000
--- a/reference/mongodb/mongodb/driver/topologydescription/gettype.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\TopologyDescription::getType
- Returns a string denoting the type of this topology
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\TopologyDescription::getType
-
-
-
- Returns a string denoting the type of this topology. The value
- will correlate with a
- MongoDB\Driver\TopologyDescription constant.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a string denoting the type of this topology.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/topologydescription/hasreadableserver.xml b/reference/mongodb/mongodb/driver/topologydescription/hasreadableserver.xml
deleted file mode 100644
index c59075b79..000000000
--- a/reference/mongodb/mongodb/driver/topologydescription/hasreadableserver.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\TopologyDescription::hasReadableServer
- Returns whether the topology has a readable server
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\TopologyDescription::hasReadableServer
- MongoDB\Driver\ReadPreferencenullreadPreference&null;
-
-
- Returns whether the topology has a readable server or, if
- readPreference is specified, a server matching the
- specified read preference.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns whether the topology has a readable server or, if
- readPreference is specified, a server matching the
- specified read preference.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/topologydescription/haswritableserver.xml b/reference/mongodb/mongodb/driver/topologydescription/haswritableserver.xml
deleted file mode 100644
index 43576e804..000000000
--- a/reference/mongodb/mongodb/driver/topologydescription/haswritableserver.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\TopologyDescription::hasWritableServer
- Returns whether the topology has a writable server
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\TopologyDescription::hasWritableServer
-
-
-
- Returns whether the topology has a writable server.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns whether the topology has a writable server.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern.xml b/reference/mongodb/mongodb/driver/writeconcern.xml
deleted file mode 100644
index a3169eb47..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern.xml
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\WriteConcern class
- MongoDB\Driver\WriteConcern
-
-
-
-
-
- &reftitle.intro;
-
- MongoDB\Driver\WriteConcern describes the level of
- acknowledgement requested from MongoDB for write operations to a standalone
- mongod or to replica sets or to sharded clusters. In
- sharded clusters, mongos instances will pass the write
- concern on to the shards.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\WriteConcern
-
-
-
- final
-
- MongoDB\Driver\WriteConcern
-
-
-
- MongoDB\BSON\Serializable
-
-
-
- Serializable
-
-
-
- Constants
-
- const
- string
- MongoDB\Driver\WriteConcern::MAJORITY
- "majority"
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
-
-
- MongoDB\Driver\WriteConcern::MAJORITY
-
-
- Majority of all the members in the set; arbiters, non-voting members,
- passive members, hidden members and delayed members are all included in
- the definition of majority write concern.
-
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.7.0
-
- Implements Serializable.
-
-
-
- PECL mongodb 1.2.0
-
- Implements MongoDB\BSON\Serializable.
-
-
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.writeconcern;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/bsonserialize.xml b/reference/mongodb/mongodb/driver/writeconcern/bsonserialize.xml
deleted file mode 100644
index a7f90bff6..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/bsonserialize.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::bsonSerialize
- Returns an object for BSON serialization
-
-
-
- &reftitle.description;
-
- finalpublicobjectMongoDB\Driver\WriteConcern::bsonSerialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an object for serializing the WriteConcern as BSON.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::bsonSerialize with majority write concern
-
-bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($wc));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(8) "majority"
-}
-
-{ "w" : "majority" }
-]]>
-
-
- MongoDB\Driver\WriteConcern::bsonSerialize with wtimeout and journal
-
-bsonSerialize());
-
-echo "\n", MongoDB\BSON\toJSON(MongoDB\BSON\fromPHP($wc));
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- int(2)
- ["j"]=>
- bool(true)
- ["wtimeout"]=>
- int(1000)
-}
-
-{ "w" : 2, "j" : true, "wtimeout" : 1000 }
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\BSON\Serializable::bsonSerialize
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/construct.xml b/reference/mongodb/mongodb/driver/writeconcern/construct.xml
deleted file mode 100644
index bb2d4b4ae..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/construct.xml
+++ /dev/null
@@ -1,231 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::__construct
- Create a new WriteConcern
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteConcern::__construct
- stringintw
- intwtimeout
- booljournal
-
-
- Constructs a new MongoDB\Driver\WriteConcern, which is
- an immutable value object.
-
-
-
-
- &reftitle.parameters;
-
-
- w
-
-
-
- Write concern
-
-
-
- Value
- Description
-
-
-
-
- 1
-
- Requests acknowledgement that the write operation has propagated to
- the standalone mongod or the primary in a replica
- set. This is the default write concern for MongoDB.
-
-
-
- 0
-
- Requests no acknowledgment of the write operation. However, this may
- return information about socket exceptions and networking errors to
- the application.
-
-
-
- <integer greater than 1>
-
- Numbers greater than 1 are valid only for replica sets to request
- acknowledgement from specified number of members, including the
- primary.
-
-
-
- MongoDB\Driver\WriteConcern::MAJORITY
-
-
- Requests acknowledgment that write operations have propagated to the
- majority of voting nodes, including the primary, and have been
- written to the on-disk journal for these nodes.
-
-
- Prior to MongoDB 3.0, this refers to the majority of replica set
- members (not just voting nodes).
-
-
-
-
- string
-
- A string value is interpereted as a tag set. Requests acknowledgement
- that the write operations have propagated to a replica set member
- with the specified tag.
-
-
-
-
-
-
-
-
-
- wtimeout
-
-
- How long to wait (in milliseconds) for secondaries before failing.
-
-
- wtimeout causes write operations to return with an
- error (WriteConcernError) after the specified
- limit, even if the required write concern will eventually succeed. When
- these write operations return, MongoDB does not undo successful data
- modifications performed before the write concern exceeded the
- wtimeout time limit.
-
-
- If specified, wtimeout must be a signed 64-bit integer
- greater than or equal to zero.
-
-
-
- Write concern timeout
-
-
-
- Value
- Description
-
-
-
-
- 0
- Block indefinitely. This is the default.
-
-
- <integer greater than 0>
-
- Milliseconds to wait until returning.
-
-
-
-
-
-
-
-
-
- journal
-
-
- Wait until mongod has applied the write to the journal.
-
-
-
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\InvalidArgumentException if w is invalid or wtimeout is either negative or greater than the bounds of a signed 32-bit integer.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.7.0
-
- The wTimeout parameter now accepts 64-bit values.
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::__construct example
-
-
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/getjournal.xml b/reference/mongodb/mongodb/driver/writeconcern/getjournal.xml
deleted file mode 100644
index 96d7b9b2a..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/getjournal.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::getJournal
- Returns the WriteConcern's "journal" option
-
-
-
- &reftitle.description;
-
- finalpublicboolnullMongoDB\Driver\WriteConcern::getJournal
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteConcern's "journal" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::getJournal example
-
-getJournal());
-
-$wc = new MongoDB\Driver\WriteConcern(1, 0, true);
-var_dump($wc->getJournal());
-
-$wc = new MongoDB\Driver\WriteConcern(1, 0, false);
-var_dump($wc->getJournal());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/getw.xml b/reference/mongodb/mongodb/driver/writeconcern/getw.xml
deleted file mode 100644
index 6ccd3d7fd..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/getw.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::getW
- Returns the WriteConcern's "w" option
-
-
-
- &reftitle.description;
-
- finalpublicstringintnullMongoDB\Driver\WriteConcern::getW
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteConcern's "w" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::getW example
-
-getW());
-
-$wc = new MongoDB\Driver\WriteConcern(MongoDB\Driver\WriteConcern::MAJORITY);
-var_dump($wc->getW());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/getwtimeout.xml b/reference/mongodb/mongodb/driver/writeconcern/getwtimeout.xml
deleted file mode 100644
index 835a3f398..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/getwtimeout.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::getWtimeout
- Returns the WriteConcern's "wtimeout" option
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\BSON\Int64MongoDB\Driver\WriteConcern::getWtimeout
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteConcern's "wtimeout" option.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- PECL mongodb 1.7.0
-
- On 32-bit systems, this method will return a MongoDB\BSON\Int64
- instance if the WriteConcern object was created with a wTimeout
- that exceeds the 32-bit range. On 64-bit systems, this method will
- always return an integer value.
-
-
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::getWtimeout example
-
-getWtimeout());
-
-$wc = new MongoDB\Driver\WriteConcern(MongoDB\Driver\WriteConcern::MAJORITY, 3000);
-var_dump($wc->getWtimeout());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/isdefault.xml b/reference/mongodb/mongodb/driver/writeconcern/isdefault.xml
deleted file mode 100644
index 22a108b24..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/isdefault.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::isDefault
- Checks if this is the default write concern
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\WriteConcern::isDefault
-
-
-
- Returns whether this is the default write concern (i.e. no options are
- specified). This method is primarily intended to be used in conjunction with
- MongoDB\Driver\Manager::getWriteConcern to determine
- whether the Manager has been constructed without any write concern options.
-
-
- The driver will not include a default write concern in its write operations
- (e.g. MongoDB\Driver\Manager::executeBulkWrite) in
- order to allow the server to apply its own default, which may have been
- modified.
- Libraries that access the Manager's write concern to include it in their own
- write commands should use this method to ensure that default write concerns
- are left unset.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if this is the default write concern and &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcern::isDefault example
-
-isDefault());
-
-$manager = new MongoDB\Driver\Manager('mongodb://127.0.0.1/?w=majority');
-$wc = $manager->getWriteConcern();
-var_dump($wc->isDefault());
-
-$manager = new MongoDB\Driver\Manager('mongodb://127.0.0.1/');
-$wc = $manager->getWriteConcern();
-var_dump($wc->isDefault());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Manager::getWriteConcern
- Modify Default Write Concern in the MongoDB manual
- Write Concern reference
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/serialize.xml b/reference/mongodb/mongodb/driver/writeconcern/serialize.xml
deleted file mode 100644
index 01739f932..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/serialize.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::serialize
- Serialize a WriteConcern
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\WriteConcern::serialize
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the serialized representation of the
- MongoDB\Driver\WriteConcern.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteConcern::unserialize
- serialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcern/unserialize.xml b/reference/mongodb/mongodb/driver/writeconcern/unserialize.xml
deleted file mode 100644
index f3412bba9..000000000
--- a/reference/mongodb/mongodb/driver/writeconcern/unserialize.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcern::unserialize
- Unserialize a WriteConcern
-
-
-
- &reftitle.description;
-
- finalpublicvoidMongoDB\Driver\WriteConcern::unserialize
- stringserialized
-
-
-
-
- &reftitle.parameters;
-
-
-
- serialized
-
-
- The serialized MongoDB\Driver\WriteConcern.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the properties cannot be unserialized (i.e. serialized was malformed).
- Throws MongoDB\Driver\Exception\InvalidArgumentException if the properties are invalid (e.g. missing fields or invalid values).
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteConcern::serialize
- unserialize
- Serializing Objects
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcernerror.xml b/reference/mongodb/mongodb/driver/writeconcernerror.xml
deleted file mode 100644
index c287a51f5..000000000
--- a/reference/mongodb/mongodb/driver/writeconcernerror.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\WriteConcernError class
- MongoDB\Driver\WriteConcernError
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\WriteConcernError class
- encapsulates information about a write concern error and may be returned by
- MongoDB\Driver\WriteResult::getWriteConcernError.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\WriteConcernError
-
-
-
- final
-
- MongoDB\Driver\WriteConcernError
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.writeconcernerror;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcernerror/getcode.xml b/reference/mongodb/mongodb/driver/writeconcernerror/getcode.xml
deleted file mode 100644
index 35616d971..000000000
--- a/reference/mongodb/mongodb/driver/writeconcernerror/getcode.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcernError::getCode
- Returns the WriteConcernError's error code
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\WriteConcernError::getCode
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteConcernError's error code.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcernError::getCode example
-
-insert(['x' => 1]);
-
-$writeConcern = new MongoDB\Driver\WriteConcern(2, 1);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk, $writeConcern);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteConcernError()->getCode());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcernerror/getinfo.xml b/reference/mongodb/mongodb/driver/writeconcernerror/getinfo.xml
deleted file mode 100644
index 51a77b2f5..000000000
--- a/reference/mongodb/mongodb/driver/writeconcernerror/getinfo.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcernError::getInfo
- Returns metadata document for the WriteConcernError
-
-
-
- &reftitle.description;
-
- finalpublicobjectnullMongoDB\Driver\WriteConcernError::getInfo
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the metadata document for the WriteConcernError, or &null; if
- no metadata is available.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcernError::getInfo example
-
-insert(['x' => 1]);
-
-$writeConcern = new MongoDB\Driver\WriteConcern(2, 1);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk, $writeConcern);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteConcernError()->getInfo());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- bool(true)
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeconcernerror/getmessage.xml b/reference/mongodb/mongodb/driver/writeconcernerror/getmessage.xml
deleted file mode 100644
index 7157ccbba..000000000
--- a/reference/mongodb/mongodb/driver/writeconcernerror/getmessage.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteConcernError::getMessage
- Returns the WriteConcernError's error message
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\WriteConcernError::getMessage
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteConcernError's error message.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteConcernError::getMessage example
-
-insert(['x' => 1]);
-
-$writeConcern = new MongoDB\Driver\WriteConcern(2, 1);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk, $writeConcern);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteConcernError()->getMessage());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeerror.xml b/reference/mongodb/mongodb/driver/writeerror.xml
deleted file mode 100644
index a4435a92b..000000000
--- a/reference/mongodb/mongodb/driver/writeerror.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\WriteError class
- MongoDB\Driver\WriteError
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\WriteError class encapsulates
- information about a write error and may be returned as an array element from
- MongoDB\Driver\WriteResult::getWriteErrors.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\WriteError
-
-
-
- final
-
- MongoDB\Driver\WriteError
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.writeerror;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeerror/getcode.xml b/reference/mongodb/mongodb/driver/writeerror/getcode.xml
deleted file mode 100644
index c25f8bcfa..000000000
--- a/reference/mongodb/mongodb/driver/writeerror/getcode.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteError::getCode
- Returns the WriteError's error code
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\WriteError::getCode
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteError's error code.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteError::getCode example
-
-insert(['_id' => 1]);
-$bulk->insert(['_id' => 1]);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteErrors()[0]->getCode());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeerror/getindex.xml b/reference/mongodb/mongodb/driver/writeerror/getindex.xml
deleted file mode 100644
index 047475f77..000000000
--- a/reference/mongodb/mongodb/driver/writeerror/getindex.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteError::getIndex
- Returns the index of the write operation corresponding to this WriteError
-
-
-
- &reftitle.description;
-
- finalpublicintMongoDB\Driver\WriteError::getIndex
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the index of the write operation (from
- MongoDB\Driver\BulkWrite) corresponding to this
- WriteError.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteError::getIndex example
-
-insert(['_id' => 1]);
-$bulk->insert(['_id' => 1]);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteErrors()[0]->getIndex());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\BulkWrite
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeerror/getinfo.xml b/reference/mongodb/mongodb/driver/writeerror/getinfo.xml
deleted file mode 100644
index 45ebadd8e..000000000
--- a/reference/mongodb/mongodb/driver/writeerror/getinfo.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteError::getInfo
- Returns metadata document for the WriteError
-
-
-
- &reftitle.description;
-
- finalpublicobjectnullMongoDB\Driver\WriteError::getInfo
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the metadata document for the WriteError, or &null; if no metadata is
- available.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeerror/getmessage.xml b/reference/mongodb/mongodb/driver/writeerror/getmessage.xml
deleted file mode 100644
index 77883c7f1..000000000
--- a/reference/mongodb/mongodb/driver/writeerror/getmessage.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteError::getMessage
- Returns the WriteError's error message
-
-
-
- &reftitle.description;
-
- finalpublicstringMongoDB\Driver\WriteError::getMessage
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the WriteError's error message.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteError::getMessage example
-
-insert(['_id' => 1]);
-$bulk->insert(['_id' => 1]);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteErrors()[0]->getMessage());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult.xml b/reference/mongodb/mongodb/driver/writeresult.xml
deleted file mode 100644
index 44078f2cb..000000000
--- a/reference/mongodb/mongodb/driver/writeresult.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- The MongoDB\Driver\WriteResult class
- MongoDB\Driver\WriteResult
-
-
-
-
-
- &reftitle.intro;
-
- The MongoDB\Driver\WriteResult class encapsulates
- information about an executed
- MongoDB\Driver\BulkWrite and may be returned by
- MongoDB\Driver\Manager::executeBulkWrite.
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- MongoDB\Driver\WriteResult
-
-
-
- final
-
- MongoDB\Driver\WriteResult
-
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
- &reference.mongodb.mongodb.driver.entities.writeresult;
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getdeletedcount.xml b/reference/mongodb/mongodb/driver/writeresult/getdeletedcount.xml
deleted file mode 100644
index ee7823918..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getdeletedcount.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getDeletedCount
- Returns the number of documents deleted
-
-
-
- &reftitle.description;
-
- finalpublicintnullMongoDB\Driver\WriteResult::getDeletedCount
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the number of documents deleted, or &null; if the write was not
- acknowledged.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getDeletedCount example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getDeletedCount());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getinsertedcount.xml b/reference/mongodb/mongodb/driver/writeresult/getinsertedcount.xml
deleted file mode 100644
index b4eb359e9..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getinsertedcount.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getInsertedCount
- Returns the number of documents inserted (excluding upserts)
-
-
-
- &reftitle.description;
-
- finalpublicintnullMongoDB\Driver\WriteResult::getInsertedCount
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the number of documents inserted (excluding upserts), or &null; if
- the write was not acknowledged.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getInsertedCount example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getInsertedCount());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getmatchedcount.xml b/reference/mongodb/mongodb/driver/writeresult/getmatchedcount.xml
deleted file mode 100644
index 1f02b458a..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getmatchedcount.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getMatchedCount
- Returns the number of documents selected for update
-
-
-
- &reftitle.description;
-
- finalpublicintnullMongoDB\Driver\WriteResult::getMatchedCount
-
-
-
- If the update operation results in no change to the document (e.g. setting
- the value of a field to its current value), the matched count may be greater
- than the value returned by
- MongoDB\Driver\WriteResult::getModifiedCount.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the number of documents selected for update, or &null; if the write
- was not acknowledged.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getMatchedCount example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getMatchedCount());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::getModifiedCount
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getmodifiedcount.xml b/reference/mongodb/mongodb/driver/writeresult/getmodifiedcount.xml
deleted file mode 100644
index 6c919bf16..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getmodifiedcount.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getModifiedCount
- Returns the number of existing documents updated
-
-
-
- &reftitle.description;
-
- finalpublicintnullMongoDB\Driver\WriteResult::getModifiedCount
-
-
-
- If the update operation results in no change to the document (e.g. setting
- the value of a field to its current value), the modified count may be less
- than the value returned by
- MongoDB\Driver\WriteResult::getMatchedCount.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the number of existing documents updated, or &null; if the write was
- not acknowledged.
-
-
- The modified count is not available on versions of MongoDB before 2.6, which
- used the legacy wire protocol version (i.e. OP_UPDATE). If this is the case,
- the modified count will also be &null;.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getModifiedCount example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getModifiedCount());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::getMatchedCount
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getserver.xml b/reference/mongodb/mongodb/driver/writeresult/getserver.xml
deleted file mode 100644
index 76b66a298..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getserver.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getServer
- Returns the server associated with this write result
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\ServerMongoDB\Driver\WriteResult::getServer
-
-
-
- Returns the MongoDB\Driver\Server associated with this
- write result. This is the server that executed the
- MongoDB\Driver\BulkWrite.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the MongoDB\Driver\Server associated with this
- write result.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getServer example
-
-selectServer(new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_PRIMARY));
-
-$bulk = new MongoDB\Driver\BulkWrite;
-$bulk->insert(['x' => 1]);
-
-$result = $server->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getServer() == $server);
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\Server
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getupsertedcount.xml b/reference/mongodb/mongodb/driver/writeresult/getupsertedcount.xml
deleted file mode 100644
index c0a3c495d..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getupsertedcount.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getUpsertedCount
- Returns the number of documents inserted by an upsert
-
-
-
- &reftitle.description;
-
- finalpublicintnullMongoDB\Driver\WriteResult::getUpsertedCount
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the number of documents inserted by an upsert.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getUpsertedCount example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getUpsertedCount());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::getUpsertedIds
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml b/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml
deleted file mode 100644
index 3cb9152a4..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getUpsertedIds
- Returns an array of identifiers for upserted documents
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\WriteResult::getUpsertedIds
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of identifiers (i.e. "_id" field values)
- for upserted documents. The array keys will correspond to the index of the
- write operation (from MongoDB\Driver\BulkWrite)
- responsible for the upsert.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getUpsertedIds example
-
-insert(['x' => 1]);
-$bulk->update(['x' => 1], ['$set' => ['y' => 3]]);
-$bulk->update(['x' => 2], ['$set' => ['y' => 1]], ['upsert' => true]);
-$bulk->update(['x' => 3], ['$set' => ['y' => 2]], ['upsert' => true]);
-$bulk->delete(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->getUpsertedIds());
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\BSON\ObjectId)#4 (1) {
- ["oid"]=>
- string(24) "580e62a224f2302f191b880b"
- }
- [3]=>
- object(MongoDB\BSON\ObjectId)#5 (1) {
- ["oid"]=>
- string(24) "580e62a224f2302f191b880c"
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteResult::getUpsertedCount
- MongoDB\Driver\WriteResult::isAcknowledged
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getwriteconcernerror.xml b/reference/mongodb/mongodb/driver/writeresult/getwriteconcernerror.xml
deleted file mode 100644
index 39f345c81..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getwriteconcernerror.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getWriteConcernError
- Returns any write concern error that occurred
-
-
-
- &reftitle.description;
-
- finalpublicMongoDB\Driver\WriteConcernErrornullMongoDB\Driver\WriteResult::getWriteConcernError
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a MongoDB\Driver\WriteConcernError if a write
- concern error was encountered during the write operation, and &null;
- otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getWriteConcernError example
-
-insert(['x' => 1]);
-
-$writeConcern = new MongoDB\Driver\WriteConcern(2, 1);
-
-try {
- $manager->executeBulkWrite('db.collection', $bulk, $writeConcern);
-} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteConcernError());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- string(33) "waiting for replication timed out"
- ["code"]=>
- int(64)
- ["info"]=>
- object(stdClass)#7 (1) {
- ["wtimeout"]=>
- bool(true)
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteConcern
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/getwriteerrors.xml b/reference/mongodb/mongodb/driver/writeresult/getwriteerrors.xml
deleted file mode 100644
index 5107ed30c..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/getwriteerrors.xml
+++ /dev/null
@@ -1,182 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::getWriteErrors
- Returns any write errors that occurred
-
-
-
- &reftitle.description;
-
- finalpublicarrayMongoDB\Driver\WriteResult::getWriteErrors
-
-
-
-
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of MongoDB\Driver\WriteError objects
- for any write errors encountered during the write operation. The array will
- be empty if no write errors occurred.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::getWriteErrors with a single error
-
-insert(['_id' => 1]);
-$bulk->insert(['_id' => 2]);
-$bulk->insert(['_id' => 2]);
-$bulk->insert(['_id' => 3]);
-$bulk->insert(['_id' => 4]);
-$bulk->insert(['_id' => 4]);
-
-try {
- $result = $manager->executeBulkWrite('db.collection', $bulk);
-} catch (MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteErrors());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\Driver\WriteError)#5 (4) {
- ["message"]=>
- string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 2 }"
- ["code"]=>
- int(11000)
- ["index"]=>
- int(2)
- ["info"]=>
- NULL
- }
-}
-]]>
-
-
-
- MongoDB\Driver\WriteResult::getWriteErrors with multiple errors
-
- false]);
-$bulk->insert(['_id' => 1]);
-$bulk->insert(['_id' => 2]);
-$bulk->insert(['_id' => 2]);
-$bulk->insert(['_id' => 3]);
-$bulk->insert(['_id' => 4]);
-$bulk->insert(['_id' => 4]);
-
-try {
- $result = $manager->executeBulkWrite('db.collection', $bulk);
-} catch (MongoDB\Driver\Exception\BulkWriteException $e) {
- var_dump($e->getWriteResult()->getWriteErrors());
-}
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(MongoDB\Driver\WriteError)#5 (4) {
- ["message"]=>
- string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 2 }"
- ["code"]=>
- int(11000)
- ["index"]=>
- int(2)
- ["info"]=>
- NULL
- }
- [1]=>
- object(MongoDB\Driver\WriteError)#6 (4) {
- ["message"]=>
- string(81) "E11000 duplicate key error collection: db.collection index: _id_ dup key: { : 4 }"
- ["code"]=>
- int(11000)
- ["index"]=>
- int(5)
- ["info"]=>
- NULL
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteError
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/driver/writeresult/isacknowledged.xml b/reference/mongodb/mongodb/driver/writeresult/isacknowledged.xml
deleted file mode 100644
index c669257b8..000000000
--- a/reference/mongodb/mongodb/driver/writeresult/isacknowledged.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
- MongoDB\Driver\WriteResult::isAcknowledged
- Returns whether the write was acknowledged
-
-
-
- &reftitle.description;
-
- finalpublicboolMongoDB\Driver\WriteResult::isAcknowledged
-
-
-
- If the write is acknowledged, other count fields will be available on the
- MongoDB\Driver\WriteResult object.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if the write was acknowledged, and &false; otherwise.
-
-
-
-
- &reftitle.errors;
-
- &mongodb.throws.argumentparsing;
-
-
-
-
-
- &reftitle.examples;
-
- MongoDB\Driver\WriteResult::isAcknowledged with acknowledged write concern
-
-insert(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk);
-
-var_dump($result->isAcknowledged());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
- MongoDB\Driver\WriteResult::isAcknowledged with unacknowledged write concern
-
-insert(['x' => 1]);
-
-$result = $manager->executeBulkWrite('db.collection', $bulk, new MongoDB\Driver\WriteConcern(0));
-
-var_dump($result->isAcknowledged());
-
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- MongoDB\Driver\WriteConcern
- Write Concern reference
-
-
-
-
-
-
diff --git a/reference/mongodb/mongodb/entities.driver.xml b/reference/mongodb/mongodb/entities.driver.xml
deleted file mode 100644
index f07800864..000000000
--- a/reference/mongodb/mongodb/entities.driver.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-&reference.mongodb.mongodb.driver.bulkwrite;
-&reference.mongodb.mongodb.driver.clientencryption;
-&reference.mongodb.mongodb.driver.command;
-&reference.mongodb.mongodb.driver.cursor;
-&reference.mongodb.mongodb.driver.cursorid;
-&reference.mongodb.mongodb.driver.cursorinterface;
-&reference.mongodb.mongodb.driver.entities.bulkwrite;
-&reference.mongodb.mongodb.driver.entities.clientencryption;
-&reference.mongodb.mongodb.driver.entities.command;
-&reference.mongodb.mongodb.driver.entities.cursor;
-&reference.mongodb.mongodb.driver.entities.cursorid;
-&reference.mongodb.mongodb.driver.entities.cursorinterface;
-&reference.mongodb.mongodb.driver.entities.exception;
-&reference.mongodb.mongodb.driver.entities.manager;
-&reference.mongodb.mongodb.driver.entities.monitoring;
-&reference.mongodb.mongodb.driver.entities.query;
-&reference.mongodb.mongodb.driver.entities.readconcern;
-&reference.mongodb.mongodb.driver.entities.readpreference;
-&reference.mongodb.mongodb.driver.entities.server;
-&reference.mongodb.mongodb.driver.entities.serverapi;
-&reference.mongodb.mongodb.driver.entities.session;
-&reference.mongodb.mongodb.driver.entities.writeconcern;
-&reference.mongodb.mongodb.driver.entities.writeconcernerror;
-&reference.mongodb.mongodb.driver.entities.writeerror;
-&reference.mongodb.mongodb.driver.entities.writeresult;
-&reference.mongodb.mongodb.driver.manager;
-&reference.mongodb.mongodb.driver.query;
-&reference.mongodb.mongodb.driver.readconcern;
-&reference.mongodb.mongodb.driver.readpreference;
-&reference.mongodb.mongodb.driver.server;
-&reference.mongodb.mongodb.driver.serverapi;
-&reference.mongodb.mongodb.driver.serverdescription;
-&reference.mongodb.mongodb.driver.session;
-&reference.mongodb.mongodb.driver.topologydescription;
-&reference.mongodb.mongodb.driver.writeconcern;
-&reference.mongodb.mongodb.driver.writeconcernerror;
-&reference.mongodb.mongodb.driver.writeerror;
-&reference.mongodb.mongodb.driver.writeresult;
diff --git a/reference/mongodb/setup.xml b/reference/mongodb/setup.xml
deleted file mode 100644
index 8000267b7..000000000
--- a/reference/mongodb/setup.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
- &reftitle.setup;
-
-
- &reftitle.required;
-
- La variante de PHP del controlador requiere PHP 5.4 o superior.
-
-
- La variante de HHVM del controlador requiere HHVM 3.9 o superior.
-
-
-
- &reference.mongodb.configure;
- &reference.mongodb.ini;
-
- &reference.mongodb.constants;
-
-
-
-
diff --git a/reference/mysqli/versions.xml b/reference/mysqli/versions.xml
deleted file mode 100644
index c9030861d..000000000
--- a/reference/mysqli/versions.xml
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/opcache/entities.functions.xml b/reference/opcache/entities.functions.xml
deleted file mode 100644
index a239af28f..000000000
--- a/reference/opcache/entities.functions.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-&reference.opcache.functions.opcache-compile-file;
-&reference.opcache.functions.opcache-get-configuration;
-&reference.opcache.functions.opcache-get-status;
-&reference.opcache.functions.opcache-invalidate;
-&reference.opcache.functions.opcache-is-script-cached;
-&reference.opcache.functions.opcache-reset;
diff --git a/reference/opcache/functions/opcache-compile-file.xml b/reference/opcache/functions/opcache-compile-file.xml
deleted file mode 100644
index db3e98fe8..000000000
--- a/reference/opcache/functions/opcache-compile-file.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
- opcache_compile_file
- Compiles and caches a PHP script without executing it
-
-
-
- &reftitle.description;
-
- boolopcache_compile_file
- stringfilename
-
-
- This function compiles a PHP script and adds it to the opcode cache without
- executing it. This can be used to prime the cache after a Web server
- restart by pre-caching files that will be included in later requests.
-
-
-
-
- &reftitle.parameters;
-
-
- filename
-
-
- The path to the PHP script to be compiled.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if filename was compiled successfully
- &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If filename cannot be loaded or compiled, an error of
- level E_WARNING is generated. You may use
- @ to suppress this
- warning.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_invalidate
-
-
-
-
-
diff --git a/reference/opcache/functions/opcache-get-configuration.xml b/reference/opcache/functions/opcache-get-configuration.xml
deleted file mode 100644
index 6556dc9c5..000000000
--- a/reference/opcache/functions/opcache-get-configuration.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
- opcache_get_configuration
- Get configuration information about the cache
-
-
-
- &reftitle.description;
-
- arrayfalseopcache_get_configuration
-
-
-
- This function returns configuration information about the cache instance
-
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of information, including ini, blacklist and version
-
-
-
-
- &reftitle.errors;
-
- If opcache.restrict_api is in use and the current path
- is in violation of the rule, an E_WARNING will be raised; no status information will
- be returned.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_get_status
-
-
-
-
-
-
diff --git a/reference/opcache/functions/opcache-get-status.xml b/reference/opcache/functions/opcache-get-status.xml
deleted file mode 100644
index 8ca42f336..000000000
--- a/reference/opcache/functions/opcache-get-status.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
- opcache_get_status
- Get status information about the cache
-
-
-
- &reftitle.description;
-
- arrayfalseopcache_get_status
- boolinclude_scripts&true;
-
-
- This function returns state information about the cache instance
-
-
-
-
- &reftitle.parameters;
-
-
- include_scripts
-
-
- Include script specific state information
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns an array of information, optionally containing script specific state information,
- &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If opcache.restrict_api is in use and the current path
- is in violation of the rule, an E_WARNING will be raised; no status information will
- be returned.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_get_configuration
-
-
-
-
-
-
diff --git a/reference/opcache/functions/opcache-invalidate.xml b/reference/opcache/functions/opcache-invalidate.xml
deleted file mode 100644
index 985078868..000000000
--- a/reference/opcache/functions/opcache-invalidate.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
- opcache_invalidate
- Invalidates a cached script
-
-
-
- &reftitle.description;
-
- boolopcache_invalidate
- stringfilename
- boolforce&false;
-
-
- This function invalidates a particular script from the opcode cache. If
- force is unset or &false;, the script will only be
- invalidated if the modification time of the script is newer than the cached
- opcodes.
-
-
-
-
- &reftitle.parameters;
-
-
- filename
-
-
- The path to the script being invalidated.
-
-
-
-
- force
-
-
- If set to &true;, the script will be invalidated regardless of whether
- invalidation is necessary.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if the opcode cache for filename was
- invalidated or if there was nothing to invalidate, or &false; if the opcode
- cache is disabled.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_compile_file
- opcache_reset
-
-
-
-
-
diff --git a/reference/opcache/functions/opcache-is-script-cached.xml b/reference/opcache/functions/opcache-is-script-cached.xml
deleted file mode 100644
index f71417da7..000000000
--- a/reference/opcache/functions/opcache-is-script-cached.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
- opcache_is_script_cached
- Tells whether a script is cached in OPCache
-
-
-
- &reftitle.description;
-
- boolopcache_is_script_cached
- stringfilename
-
-
- This function checks if a PHP script has been cached in OPCache. This can be
- used to more easily detect the "warming" of the cache for a particular script.
-
-
-
-
- &reftitle.parameters;
-
-
- filename
-
-
- The path to the PHP script to be checked.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if filename is cached in OPCache,
- &false; otherwise.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_compile_file
-
-
-
-
-
diff --git a/reference/opcache/functions/opcache-reset.xml b/reference/opcache/functions/opcache-reset.xml
deleted file mode 100644
index 21469c398..000000000
--- a/reference/opcache/functions/opcache-reset.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- opcache_reset
- Resets the contents of the opcode cache
-
-
-
- &reftitle.description;
-
- boolopcache_reset
-
-
-
- This function resets the entire opcode cache. After calling
- opcache_reset, all scripts will be reloaded and
- reparsed the next time they are hit.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if the opcode cache was reset, or &false; if the opcode
- cache is disabled.
-
-
-
-
- &reftitle.seealso;
-
-
- opcache_invalidate
-
-
-
-
-
-
diff --git a/reference/opcache/preload.xml b/reference/opcache/preload.xml
deleted file mode 100644
index c8e14b5c5..000000000
--- a/reference/opcache/preload.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
- Preloading
-
-
- As of PHP 7.4.0, PHP can be configured to preload scripts into the opcache when the engine
- starts. Any symbols (functions, classes, etc.) in those files will then become
- globally available for all requests without needing to be explicitly included. That trades
- convenience and performance (because the code is always available) for baseline memory usage. It also
- requires restarting the PHP process to clear pre-loaded scripts, meaning this feature is
- only practical to use in production, not in a development environment.
-
-
-
- Note that the optimal tradeoff between performance and memory may vary with the application.
- "Preload everything" may be the easiest strategy, but not necessarily the best strategy. Additionally,
- preloading is only useful when there is a persistent process from one request to another. That means
- while it can work in a CLI script if the opcache is enabled, it's generally pointless. The exception
- is when using preloading on FFI libraries.
-
-
-
-
- Preloading is not supported on Windows.
-
-
-
-
- Configuring preloading involves two steps, and requires that the opcache be enabled.
- First, set the opcache.preload
- value in &php.ini;:
-
-
-
-
-
-
-
-
-
- preload.php is an arbitrary file that will run once at server startup
- (PHP-FPM, mod_php, etc.) and load code into persistent memory. If PHP will be run as
- root (not recommended), the opcache.preload_user
- value can specify an alternate system user to run the preloading. Running preloading as
- root is not allowed.
-
-
-
- In the preload.php script, any file referenced by include,
- include_once, require, require_once, or
- opcache_compile_file will be parsed into persistent memory. In the following example,
- all .php files in the src directory will be preloaded, unless they
- are a Test file.
-
-
-
-
- $file) {
- require_once($file[0]);
-}
-?>
-]]>
-
-
-
-
- Both include and opcache_compile_file will work, but have different
- implications for how code gets handled.
-
-
- include will execute code in the file,
- while opcache_compile_file will not. That means only the former supports
- conditional declaration (functions declared inside an if-block).
- Because include will execute code, nested included
- files will also be parsed and their declarations preloaded.
- opcache_compile_file can load files in any order. That is, if
- a.php defines class A and b.php defines class
- B that extends A, then opcache_compile_file can
- load those two files in any order. When using include, however, a.php
- must be included first.
- In either case, if a later script includes a file that has already been preloaded then
- its contents will still execute, but any symbols it defines will not be re-defined. Using
- include_once will not prevent the file from being included a second time.
-
-
- Which approach is better therefore depends on the desired behavior. With code that would otherwise use an
- autoloader, opcache_compile_file allows for greater flexibility. With code that would
- otherwise be loaded manually, include will be more robust.
-
-
-
-
-
diff --git a/reference/openssl/versions.xml b/reference/openssl/versions.xml
deleted file mode 100644
index 8af51887a..000000000
--- a/reference/openssl/versions.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/parallel/book.developer.xml b/reference/parallel/book.developer.xml
deleted file mode 100644
index 429dabe5a..000000000
--- a/reference/parallel/book.developer.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
-%xhtml-lat1;
-%xhtml-symbol;
-%xhtml-special;
-%isopub;
-
-
-
-
-
-
-%language-defs.default;
-%extensions.default;
-%language-snippets.default;
-
-
-
-
-
-
-
-
-
-%global.entities;
-%file.entities;
-%frontpage.entities;
-]>
-
-
- Parallel
- Parallel
-
-
- &reftitle.intro;
-
-
-
-
-
- &reference.parallel.setup;
- &reference.parallel.constants;
- &reference.parallel.examples;
- &reference.parallel.reference;
-
-
-
-
-
diff --git a/reference/parallel/book.xml b/reference/parallel/book.xml
deleted file mode 100644
index 7fddce853..000000000
--- a/reference/parallel/book.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
- parallel
- parallel
-
-
- &reftitle.intro;
-
- parallel is a parallel concurrency extension for PHP 7.2+.
-
-
- A brief description of the concepts core to parallel follows, more detailed information may be found within this section of the manual.
-
-
- Runtime
-
- A parallel\Runtime represents a PHP interpreter thread. A parallel\Runtime is configured with an optional bootstrap file passed to parallel\Runtime::__construct, this is typically an autoloader,
- or some other preloading routine: The bootstrap file will be included before any task is executed.
-
-
- After construction the parallel\Runtime remains available until it is closed, killed, or destroyed by the normal scoping rules of PHP objects.
- parallel\Runtime::run allows the programmer to schedule tasks for execution in parallel.
- A parallel\Runtime has a FIFO schedule, tasks will be executed in the order that they are scheduled.
-
-
-
- Functional API
-
- parallel implements a functional, higher level API on top of parallel\Runtime that provides a single function entry point to executing parallel code
- with automatic scheduling: parallel\run.
-
-
-
- Task
-
- A task is simply a Closure intended for parallel execution. The Closure may contain almost any instruction, including nested closures.
- However, there are some instructions that are prohibited in tasks:
-
-
- yield
-
-
- use by-reference
-
-
- declare class
-
-
- declare named function
-
-
-
-
-
- Nested closures may yield or use by-reference, but must not contain class or named function declarations.
-
-
-
-
- No instructions are prohibited in the files which the task may include.
-
-
-
-
- Future
-
- The parallel\Future is used to access the return value from the task, and exposes an API for cancellation of the task.
-
-
-
- Channel
-
- A task may be scheduled with arguments, use lexical scope variables (by-value), and return a value (via a parallel\Future), but these only allow uni-directional communication:
- They allow the programmer to send data into and retrieve data from a task, but do not allow bi-directional communication between tasks.
- The parallel\Channel API allows bi-directional communication between tasks, a parallel\Channel is a socket-like link between tasks that the programmer can use to send and receive data.
-
-
-
- Events
-
- The parallel\Events API implements a native feel (Traversable) event loop, and parallel\Events::poll method.
- It allows the programmer to work with sets of channels and or futures.
- The programmer simply adds channels and futures to the event loop, optionally setting the input for writes with parallel\Events::setInput,
- and enters into a foreach: parallel will read from and write to objects as they become available yielding parallel\Events\Event objects
- describing the operations that have occurred.
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
- &reference.parallel.setup;
- &reference.parallel.philosophy;
- &reference.parallel.functional;
- &reference.parallel.parallel.runtime;
- &reference.parallel.parallel.future;
- &reference.parallel.parallel.channel;
- &reference.parallel.parallel.events;
- &reference.parallel.parallel.events.input;
- &reference.parallel.parallel.events.event;
- &reference.parallel.parallel.events.event.type;
-
- &reference.parallel.parallel.sync;
-
-
-
-
-
diff --git a/reference/parallel/configure.xml b/reference/parallel/configure.xml
deleted file mode 100644
index 02c1a4aba..000000000
--- a/reference/parallel/configure.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
- &reftitle.install;
-
-
- Use when compiling PHP.
-
-
-
- Windows users should include php_parallel.dll into &php.ini;
-
-
-
-
-
-
diff --git a/reference/parallel/functional.xml b/reference/parallel/functional.xml
deleted file mode 100644
index 4bc76702e..000000000
--- a/reference/parallel/functional.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- Functional API
-
-
- The parallel\Runtime API provides a great degree of control to the power PHP programmer, and those intimately familiar with writing applications that use
- parallel concurrency.
-
-
- The functional API provides less control in exchange for the ability to make decisions for the programmer:
-
-
- all executing runtimes are bootstrapped identically
-
-
- scheduling is determined by the API, not the programmer
-
-
- parallel\run provides the guarantee that the task will begin to execute in parallel as soon as allowed by hardware and operating system constraints, without
- needlessly creating runtimes. For most applications the functional API should be preferred.
-
-
-
- &reference.parallel.functions.parallel.bootstrap;
- &reference.parallel.functions.parallel.run;
-
-
-
diff --git a/reference/parallel/functions/parallel.bootstrap.xml b/reference/parallel/functions/parallel.bootstrap.xml
deleted file mode 100644
index 8542f99eb..000000000
--- a/reference/parallel/functions/parallel.bootstrap.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
- parallel\bootstrap
- Bootstrapping
-
-
-
- &reftitle.description;
-
- voidparallel\bootstrap
- stringfile
-
-
- Shall use the provided file to bootstrap all runtimes created for automatic scheduling via parallel\run.
-
-
-
-
- &reftitle.parameters;
-
-
-
- file
-
-
- Path to the file to bootstrap all runtimes.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.errors;
-
-
- Shall throw parallel\Runtime\Error\Bootstrap if previously called for this process.
-
-
-
-
- Shall throw parallel\Runtime\Error\Bootstrap if called after parallel\run.
-
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
diff --git a/reference/parallel/functions/parallel.run.xml b/reference/parallel/functions/parallel.run.xml
deleted file mode 100644
index 433ecbeb2..000000000
--- a/reference/parallel/functions/parallel.run.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
- parallel\run
- Execution
-
-
-
- &reftitle.description;
-
- Futurenullparallel\run
- Closuretask
-
-
- Shall schedule task for execution in parallel.
-
-
- Futurenullparallel\run
- Closuretask
- arrayargv
-
-
- Shall schedule task for execution in parallel, passing argv at execution time.
-
-
-
-
- Automatic Scheduling
-
- If a \parallel\Runtime internally created and cached by a previous call to parallel\run is idle,
- it will be used to execute the task. If no \parallel\Runtime is idle parallel will create and cache a
- \parallel\Runtime.
-
-
-
- \parallel\Runtime objects created by the programmer are not used for automatic scheduling.
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel.channel.xml b/reference/parallel/parallel.channel.xml
deleted file mode 100644
index cf518a855..000000000
--- a/reference/parallel/parallel.channel.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
- The parallel\Channel class
- parallel\Channel
-
-
-
- Unbuffered Channels
-
- An unbuffered channel will block on calls to parallel\Channel::send until there is a receiver, and block on calls to
- parallel\Channel::recv until there is a sender. This means an unbuffered channel is not only a way to share data among tasks
- but also a simple method of synchronization.
-
-
- An unbuffered channel is the fastest way to share data among tasks, requiring the least copying.
-
-
-
-
- Buffered Channels
-
- A buffered channel will not block on calls to parallel\Channel::send until capacity is reached, calls to
- parallel\Channel::recv will block until there is data in the buffer.
-
-
-
-
- Closures over Channels
-
- A powerful feature of parallel channels is that they allow the exchange of closures between tasks (and runtimes).
-
-
- When a closure is sent over a channel the closure is buffered, it doesn't change the buffering of the channel transmitting the closure,
- but it does effect the static scope inside the closure: The same closure sent to different runtimes, or the same runtime,
- will not share their static scope.
-
-
- This means that whenever a closure is executed that was transmitted by a channel, static state will be as it was when the closure was buffered.
-
-
-
-
- Anonymous Channels
-
- The anonymous channel constructor allows the programmer to avoid assigning names to every channel: parallel will generate a unique name for anonymous
- channels.
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Channel
-
-
-
-
- final
- parallel\Channel
-
-
-
-
- Anonymous Constructor
-
-
-
-
- Access
-
-
-
-
- Sharing
-
-
-
-
- Closing
-
-
-
-
- Constant for Infinitely Buffered
-
- const
- Infinite
-
-
-
-
-
-
-
-
-
- &reference.parallel.parallel.channel.construct;
- &reference.parallel.parallel.channel.make;
- &reference.parallel.parallel.channel.open;
- &reference.parallel.parallel.channel.recv;
- &reference.parallel.parallel.channel.send;
- &reference.parallel.parallel.channel.close;
-
-
-
-
diff --git a/reference/parallel/parallel.events.event.type.xml b/reference/parallel/parallel.events.event.type.xml
deleted file mode 100644
index 5fddce4ba..000000000
--- a/reference/parallel/parallel.events.event.type.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
- The parallel\Events\Event\Type class
- parallel\Events\Event\Type
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Events\Event\Type
-
-
-
-
- final
- parallel\Events\Event\Type
-
-
-
-
- Event::$object was read into Event::$value
-
- const
- Read
-
-
- Input for Event::$source written to Event::$object
-
- const
- Write
-
-
- Event::$object (Channel) was closed
-
- const
- Close
-
-
- Event::$object (Future) was cancelled
-
- const
- Cancel
-
-
- Runtime executing Event::$object (Future) was killed
-
- const
- Kill
-
-
- Event::$object (Future) raised error
-
- const
- Error
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel.events.event.xml b/reference/parallel/parallel.events.event.xml
deleted file mode 100644
index 08055995f..000000000
--- a/reference/parallel/parallel.events.event.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
- The parallel\Events\Event class
- parallel\Events\Event
-
-
-
-
- Event Objects
-
- When an Event is returned, Event::$object shall be removed from the loop that returned it, should the event be a write event
- the Input for Event::$source shall also be removed.
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Events\Event
-
-
-
-
- final
- parallel\Events\Event
-
-
-
-
- Shall be one of Event\Type constants
-
- public
- int
- type
-
-
- Shall be the source of the event (target name)
-
- public
- string
- source
-
-
- Shall be either Future or Channel
-
- public
- object
- object
-
-
- Shall be set for Read/Error events
-
- public
- value
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel.events.input.xml b/reference/parallel/parallel.events.input.xml
deleted file mode 100644
index fe76afb8f..000000000
--- a/reference/parallel/parallel.events.input.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
- The parallel\Events\Input class
- parallel\Events\Input
-
-
-
-
- Events Input
-
- An Input object is a container for data that the parallel\Events object will write to
- parallel\Channel objects as they become available. Multiple event loops may share an Input container - parallel does not
- verify the contents of the container when it is set as the input for a parallel\Events object.
-
-
-
- When a parallel\Events object performs a write, the target is removed from the input object as if
- parallel\Events\Input::remove were called.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Events\Input
-
-
-
-
- final
- parallel\Events\Input
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-&reference.parallel.parallel.entities.input;
-
-
-
-
diff --git a/reference/parallel/parallel.events.xml b/reference/parallel/parallel.events.xml
deleted file mode 100644
index 4a16b1686..000000000
--- a/reference/parallel/parallel.events.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
- The parallel\Events class
- parallel\Events
-
-
-
- The Event Loop
-
- The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read (parallel\Future::value, parallel\Channel::recv) and write (parallel\Channel::send) operations as the targets become available and the operations may be performed without blocking the event loop.
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Events
-
-
-
-
- final
- parallel\Events
-
-
- Countable
-
-
- Traversable
-
-
-
-
- Input
-
-
-
-
- Targets
-
-
-
-
- Behaviour
-
-
-
-
- Polling
-
-
-
-
-
-
-
-
-
-
- &reference.parallel.parallel.events.setblocking;
- &reference.parallel.parallel.events.settimeout;
- &reference.parallel.parallel.events.setinput;
- &reference.parallel.parallel.events.addchannel;
- &reference.parallel.parallel.events.addfuture;
- &reference.parallel.parallel.events.remove;
- &reference.parallel.parallel.events.poll;
-
-
-
-
diff --git a/reference/parallel/parallel.future.xml b/reference/parallel/parallel.future.xml
deleted file mode 100644
index 4275c4e1e..000000000
--- a/reference/parallel/parallel.future.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
- The parallel\Future class
- parallel\Future
-
-
-
-
- Futures
-
- A Future represents the return value or uncaught exception from a task, and exposes an API for cancellation.
-
-
- Example showing Future as return value
-
-run(function(){
- return "World";
-});
-printf("Hello %s\n", $future->value());
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
- The behaviour of a future also allows it to be used as a simple synchronization point even where the task does not return a value explicitly.
-
-
- Example showing Future as synchronization point
-
-run(function(){
- echo "in child ";
- for ($i = 0; $i < 500; $i++) {
- if ($i % 10 == 0) {
- echo ".";
- }
- }
- echo " leaving child";
-});
-
-$future->value();
-echo "\nparent continues\n";
-?>
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Future
-
-
-
-
- final
- parallel\Future
-
-
-
-
- Resolution
-
-
-
-
- State
-
-
-
-
- Cancellation
-
-
-
-
-
-
-
-
-
-
-
- &reference.parallel.parallel.entities.future;
-
-
-
-
diff --git a/reference/parallel/parallel.runtime.xml b/reference/parallel/parallel.runtime.xml
deleted file mode 100644
index 462bcf53d..000000000
--- a/reference/parallel/parallel.runtime.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- The parallel\Runtime class
- parallel\Runtime
-
-
-
-
- Runtime Objects
-
- Each runtime represents a single PHP thread, the thread is created (and bootstrapped) upon construction.
- The thread then waits for tasks to be scheduled: Scheduled tasks will be executed FIFO and then the thread will resume waiting until
- more tasks are scheduled, or it's closed, killed, or destroyed by the normal scoping rules of PHP objects.
-
-
-
- When a runtime is destroyed by the normal scoping rules of PHP objects, it will first execute all of the tasks that were scheduled,
- and block while doing so.
-
-
-
-
-
- Runtime Bootstrapping
-
- When a new runtime is created, it does not share code with the thread (or process) that created it. This means it doesn't have the same
- classes and functions loaded, nor the same autoloader set. In some cases, a very lightweight runtime is desirable because the tasks that
- will be scheduled do not need access to the code in the parent thread. In those cases where the tasks do need to access the same code, it
- is enough to set an autoloader as the bootstrap.
-
-
-
- preloading may be used in conjunction with parallel, in this case preloaded code is available without bootstrapping
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Runtime
-
-
-
-
- final
- parallel\Runtime
-
-
-
-
- Create
-
-
-
-
- Execute
-
-
-
-
- Join
-
-
-
-
-
-
-
-
-
-
- &reference.parallel.parallel.runtime.construct;
- &reference.parallel.parallel.runtime.run;
- &reference.parallel.parallel.runtime.close;
- &reference.parallel.parallel.runtime.kill;
-
-
-
-
diff --git a/reference/parallel/parallel.sync.xml b/reference/parallel/parallel.sync.xml
deleted file mode 100644
index 1c4e0ef40..000000000
--- a/reference/parallel/parallel.sync.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
- The parallel\Sync class
- parallel\Sync
-
-
-
- Low Level Synchronization
-
- The parallel\Sync class provides access to low level synchronization primitives, mutex, condition variables, and allows the implementation of semaphores.
-
-
-
- Synchronization for most applications is much better implemented using channels, however, in some cases authors of low level code may find it useful to be able to access
- these lower level mechanisms.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- parallel\Sync
-
-
-
-
- final
- parallel\Sync
-
-
-
-
- Constructor
-
-
-
-
- Access
-
-
-
-
- Synchronization
-
-
-
-
-
-
-
-
-
-
-
- &reference.parallel.parallel.sync.construct;
- &reference.parallel.parallel.sync.get;
- &reference.parallel.parallel.sync.set;
- &reference.parallel.parallel.sync.wait;
- &reference.parallel.parallel.sync.notify;
- &reference.parallel.parallel.sync.invoke;
-
-
-
-
diff --git a/reference/parallel/parallel/channel/close.xml b/reference/parallel/parallel/channel/close.xml
deleted file mode 100644
index 591110324..000000000
--- a/reference/parallel/parallel/channel/close.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- parallel\Channel::close
- Closing
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Channel::close
-
-
-
- Shall close this channel
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Channel\Error\Closed if channel is closed.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/channel/construct.xml b/reference/parallel/parallel/channel/construct.xml
deleted file mode 100644
index a50376d22..000000000
--- a/reference/parallel/parallel/channel/construct.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- parallel\Channel::__construct
- Channel Construction
-
-
-
- &reftitle.description;
-
- publicparallel\Channel::__construct
-
-
-
- Shall make an anonymous unbuffered channel
-
-
- publicparallel\Channel::__construct
- intcapacity
-
-
- Shall make an anonymous buffered channel with the given capacity
-
-
-
-
-
- &reftitle.parameters;
-
-
- capacity
-
-
- May be Channel::Infinite or a positive integer
-
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/channel/make.xml b/reference/parallel/parallel/channel/make.xml
deleted file mode 100644
index af7883785..000000000
--- a/reference/parallel/parallel/channel/make.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
- parallel\Channel::make
- Access
-
-
-
- &reftitle.description;
-
- publicChannelparallel\Channel::make
- stringname
-
-
- Shall make an unbuffered channel with the given name
-
-
- publicChannelparallel\Channel::make
- stringname
- intcapacity
-
-
- Shall make a buffered channel with the given name and capacity
-
-
-
-
-
- &reftitle.parameters;
-
-
- name
-
-
- The name of the channel.
-
-
-
-
- capacity
-
-
- May be Channel::Infinite or a positive integer
-
-
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Channel\Error\Existence if channel already exists.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/channel/open.xml b/reference/parallel/parallel/channel/open.xml
deleted file mode 100644
index bc78a71f0..000000000
--- a/reference/parallel/parallel/channel/open.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- parallel\Channel::open
- Access
-
-
-
- &reftitle.description;
-
- publicChannelparallel\Channel::open
- stringname
-
-
- Shall open the channel with the given name
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Channel\Error\Existence if channel does not exist.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/channel/recv.xml b/reference/parallel/parallel/channel/recv.xml
deleted file mode 100644
index f89e15220..000000000
--- a/reference/parallel/parallel/channel/recv.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- parallel\Channel::recv
- Sharing
-
-
-
- &reftitle.description;
-
- publicmixedparallel\Channel::recv
-
-
-
- Shall recv a value from this channel
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Channel\Error\Closed if channel is closed.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/channel/send.xml b/reference/parallel/parallel/channel/send.xml
deleted file mode 100644
index 3d8d0c703..000000000
--- a/reference/parallel/parallel/channel/send.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- parallel\Channel::send
- Sharing
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Channel::send
- mixedvalue
-
-
- Shall send the given value on this channel
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Channel\Error\Closed if channel is closed.
-
-
-
-
- Shall throw parallel\Channel\Error\IllegalValue if value is illegal.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/addchannel.xml b/reference/parallel/parallel/events/addchannel.xml
deleted file mode 100644
index cfffdaa62..000000000
--- a/reference/parallel/parallel/events/addchannel.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
- parallel\Events::addChannel
- Targets
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events::addChannel
- parallel\Channelchannel
-
-
- Shall watch for events on the given channel
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error\Existence if channel was already added.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/addfuture.xml b/reference/parallel/parallel/events/addfuture.xml
deleted file mode 100644
index a736fa49d..000000000
--- a/reference/parallel/parallel/events/addfuture.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- parallel\Events::addFuture
- Targets
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events::addFuture
- stringname
- parallel\Futurefuture
-
-
- Shall watch for events on the given future
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error\Existence if target with the given name was already added.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/poll.xml b/reference/parallel/parallel/events/poll.xml
deleted file mode 100644
index 601ce5eb5..000000000
--- a/reference/parallel/parallel/events/poll.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- parallel\Events::poll
- Polling
-
-
-
- &reftitle.description;
-
- publicparallel\Events\Eventnullparallel\Events::poll
-
-
-
- Shall poll for the next event
-
-
-
-
- &reftitle.returnvalues;
-
- Should there be no targets remaining, &null; shall be returned
-
-
- Should this be a non-blocking loop, and blocking would occur, &null; shall be returned
-
-
- Otherwise, the parallel\Events\Event returned describes the event.
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error\Timeout if timeout is used and reached.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/remove.xml b/reference/parallel/parallel/events/remove.xml
deleted file mode 100644
index b3520c094..000000000
--- a/reference/parallel/parallel/events/remove.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
- parallel\Events::remove
- Targets
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events::remove
- stringtarget
-
-
- Shall remove the given target
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error\Existence if target with the given name was not found.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/setblocking.xml b/reference/parallel/parallel/events/setblocking.xml
deleted file mode 100644
index 1eb3889c7..000000000
--- a/reference/parallel/parallel/events/setblocking.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- parallel\Events::setBlocking
- Behaviour
-
-
-
- &reftitle.description;
-
- By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting blocking mode to &false; will cause
- poll to return control if the first target polled is not ready.
-
-
- This differs from setting a timeout of 0 with parallel\Events::setTimeout, since a timeout of 0, while allowed, will cause an exception
- to be raised, which may be extremely slow or wasteful if what is really desired is non-blocking behaviour.
-
-
- A non-blocking loop effects the return value of parallel\Events::poll, such that it may be &null; before all events have been processed.
-
-
- publicvoidparallel\Events::setBlocking
- boolblocking
-
-
- Shall set blocking mode
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error if loop has timeout set.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/setinput.xml b/reference/parallel/parallel/events/setinput.xml
deleted file mode 100644
index c3a575f7e..000000000
--- a/reference/parallel/parallel/events/setinput.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
- parallel\Events::setInput
- Input
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events::setInput
- Inputinput
-
-
- Shall set input for this event loop
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/events/settimeout.xml b/reference/parallel/parallel/events/settimeout.xml
deleted file mode 100644
index 64518bcdc..000000000
--- a/reference/parallel/parallel/events/settimeout.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
- parallel\Events::setTimeout
- Behaviour
-
-
-
- &reftitle.description;
-
- By default when events are polled for, blocking will occur (at the PHP level) until the first event can be returned: Setting the timeout causes an exception to be
- thrown when the timeout is reached.
-
-
- This differs from setting blocking mode to &false; with parallel\Events::setBlocking, which will not cause an exception to be thrown.
-
-
- publicvoidparallel\Events::setTimeout
- inttimeout
-
-
- Shall set the timeout in microseconds
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Error if loop is non-blocking.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/future/cancel.xml b/reference/parallel/parallel/future/cancel.xml
deleted file mode 100644
index 118930134..000000000
--- a/reference/parallel/parallel/future/cancel.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
- parallel\Future::cancel
- Cancellation
-
-
-
- &reftitle.description;
-
- publicboolparallel\Future::cancel
-
-
-
- Shall try to cancel the task
-
-
-
- If task is running, it will be interrupted.
-
-
-
-
- Internal function calls in progress cannot be interrupted.
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed.
-
-
-
-
- Shall throw parallel\Future\Error\Cancelled if task was already cancelled.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/future/cancelled.xml b/reference/parallel/parallel/future/cancelled.xml
deleted file mode 100644
index b17b9ad23..000000000
--- a/reference/parallel/parallel/future/cancelled.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Future::cancelled
- State Detection
-
-
-
- &reftitle.description;
-
- publicboolparallel\Future::cancelled
-
-
-
- Shall indicate if the task was cancelled
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/future/done.xml b/reference/parallel/parallel/future/done.xml
deleted file mode 100644
index b4e4ad0cc..000000000
--- a/reference/parallel/parallel/future/done.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Future::done
- State Detection
-
-
-
- &reftitle.description;
-
- publicboolparallel\Future::done
-
-
-
- Shall indicate if the task is completed
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/future/value.xml b/reference/parallel/parallel/future/value.xml
deleted file mode 100644
index 16bd571db..000000000
--- a/reference/parallel/parallel/future/value.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
- parallel\Future::value
- Resolution
-
-
-
- &reftitle.description;
-
- publicmixedparallel\Future::value
-
-
-
- Shall return (and if necessary wait for) return from task
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Future\Error if waiting failed (internal error).
-
-
-
-
- Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed.
-
-
-
-
- Shall throw parallel\Future\Error\Cancelled if task was cancelled.
-
-
-
-
- Shall throw parallel\Future\Error\Foreign if task raised an unrecognized uncaught exception.
-
-
-
-
- Shall rethrow Throwable uncaught in task
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/input/add.xml b/reference/parallel/parallel/input/add.xml
deleted file mode 100644
index 36a663848..000000000
--- a/reference/parallel/parallel/input/add.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- parallel\Events\Input::add
- Inputs
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events\Input::add
- stringtarget
- mixedvalue
-
-
- Shall set input for the given target
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Input\Error\Existence if input for target already exists.
-
-
-
-
- Shall throw parallel\Events\Input\Error\IllegalValue if value is illegal (&object;, &null;).
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/input/clear.xml b/reference/parallel/parallel/input/clear.xml
deleted file mode 100644
index 6cd562bd5..000000000
--- a/reference/parallel/parallel/input/clear.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
- parallel\Events\Input::clear
- Inputs
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events\Input::clear
-
-
-
- Shall remove input for all targets
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/input/remove.xml b/reference/parallel/parallel/input/remove.xml
deleted file mode 100644
index adf313a6f..000000000
--- a/reference/parallel/parallel/input/remove.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
- parallel\Events\Input::remove
- Inputs
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Events\Input::remove
- stringtarget
-
-
- Shall remove input for the given target
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Events\Input\Error\Existence if input for target does not exist.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/runtime/close.xml b/reference/parallel/parallel/runtime/close.xml
deleted file mode 100644
index 34c564005..000000000
--- a/reference/parallel/parallel/runtime/close.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- parallel\Runtime::close
- Runtime Graceful Join
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Runtime::close
-
-
-
- Shall request that the runtime shutsdown.
-
-
-
- Tasks scheduled for execution will be executed before the shutdown occurs.
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Runtime\Error\Closed if Runtime was already closed.
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/runtime/construct.xml b/reference/parallel/parallel/runtime/construct.xml
deleted file mode 100644
index 3cd842082..000000000
--- a/reference/parallel/parallel/runtime/construct.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
- parallel\Runtime::__construct
- Runtime Construction
-
-
-
- &reftitle.description;
-
- publicparallel\Runtime::__construct
-
-
-
- Shall construct a new runtime without bootstrapping.
-
-
- publicparallel\Runtime::__construct
- stringbootstrap
-
-
- Shall construct a bootstrapped runtime.
-
-
-
-
-
- &reftitle.parameters;
-
-
- bootstrap
-
-
- The location of a bootstrap file, generally an autoloader.
-
-
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Runtime\Error if thread could not be created
-
-
-
-
- Shall throw parallel\Runtime\Bootstrap if bootstrapping failed
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/runtime/kill.xml b/reference/parallel/parallel/runtime/kill.xml
deleted file mode 100644
index d124f0880..000000000
--- a/reference/parallel/parallel/runtime/kill.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
- parallel\Runtime::kill
- Runtime Join
-
-
-
- &reftitle.description;
-
- publicvoidparallel\Runtime::kill
-
-
-
- Shall attempt to force the runtime to shutdown.
-
-
-
- Tasks scheduled for execution will not be executed, the currently running task shall be interrupted.
-
-
-
-
- Internal function calls in progress cannot be interrupted.
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Runtime\Error\Closed if Runtime was closed.
-
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/runtime/run.xml b/reference/parallel/parallel/runtime/run.xml
deleted file mode 100644
index c2d874f12..000000000
--- a/reference/parallel/parallel/runtime/run.xml
+++ /dev/null
@@ -1,182 +0,0 @@
-
-
-
-
-
- parallel\Runtime::run
- Execution
-
-
-
- &reftitle.description;
-
- publicFuturenullparallel\Runtime::run
- Closuretask
-
-
- Shall schedule task for execution in parallel.
-
-
- publicFuturenullparallel\Runtime::run
- Closuretask
- arrayargv
-
-
- Shall schedule task for execution in parallel, passing argv at execution time.
-
-
-
-
-
- &reftitle.parameters;
-
-
- task
-
-
- A Closure with specific characteristics.
-
-
-
-
- argv
-
-
- An array of arguments with specific characteristics to be passed to task at execution time.
-
-
-
-
-
-
-
- Task Characteristics
-
- Closures scheduled for parallel execution must not:
-
- accept or return by reference
- accept or return internal objects (see notes)
- execute a limited set of instructions
-
-
-
- Instructions prohibited in Closures intended for parallel execution are:
-
- yield
- use by-reference
- declare class
- declare named function
-
-
-
-
- Nested closures may yield or use by-reference, but must not contain class or named function declarations.
-
-
-
-
- No instructions are prohibited in the files which the task may include.
-
-
-
-
-
- Arguments Characteristics
-
- Arguments must not:
-
- contain references
- contain resources
- contain internal objects (see notes)
-
-
-
- In the case of file stream resources, the resource will be cast to the file descriptor and passed as int where possible, this is unsupported on Windows.
-
-
-
-
-
-
- Internal Objects Notes
-
- Internal objects generally use a custom structure which cannot be copied by value safely, PHP currently lacks the mechanics to do this (without serialization)
- and so only objects that do not use a custom structure may be shared.
-
-
- Some internal objects do not use a custom structure, for example parallel\Events\Event and so may be shared.
-
-
- Closures are a special kind of internal object and support being copied by value, and so may be shared.
-
-
- Channels are central to writing parallel code and support concurrent access and execution by necessity, and so may be shared.
-
-
-
- A user class that extends an internal class may use a custom structure as defined by the internal class, in which case they cannot be copied by value safely,
- and so may not be shared.
-
-
-
-
-
- &reftitle.returnvalues;
-
-
- The return parallel\Future must not be ignored when the task contains a return or throw statement.
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Runtime\Error\Closed if parallel\Runtime was closed.
-
-
-
-
- Shall throw parallel\Runtime\Error\IllegalFunction if task is a closure created from an internal function.
-
-
-
-
- Shall throw parallel\Runtime\Error\IllegalInstruction if task contains illegal instructions.
-
-
-
-
- Shall throw parallel\Runtime\Error\IllegalParameter if task accepts or argv contains illegal variables.
-
-
-
-
- Shall throw parallel\Runtime\Error\IllegalReturn if task returns illegally.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/construct.xml b/reference/parallel/parallel/sync/construct.xml
deleted file mode 100644
index 91ae9db29..000000000
--- a/reference/parallel/parallel/sync/construct.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- parallel\Sync::__construct
- Construction
-
-
-
- &reftitle.description;
-
- publicparallel\Sync::__construct
-
-
-
- Shall construct a new synchronization object with no value
-
-
-
- publicparallel\Sync::__construct
- scalarvalue
-
-
- Shall construct a new synchronization object containing the given scalar value
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Sync\Error\IllegalValue if value is non-scalar.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/get.xml b/reference/parallel/parallel/sync/get.xml
deleted file mode 100644
index 0d3dd33a9..000000000
--- a/reference/parallel/parallel/sync/get.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Sync::get
- Access
-
-
-
- &reftitle.description;
-
- publicscalarparallel\Sync::get
-
-
-
- Shall atomically return the syncrhonization objects value
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/invoke.xml b/reference/parallel/parallel/sync/invoke.xml
deleted file mode 100644
index 0413f333b..000000000
--- a/reference/parallel/parallel/sync/invoke.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Sync::__invoke
- Synchronization
-
-
-
- &reftitle.description;
-
- publicparallel\Sync::__invoke
- callablecritical
-
-
- Shall exclusively enter into the critical code
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/notify.xml b/reference/parallel/parallel/sync/notify.xml
deleted file mode 100644
index 32b94eaf6..000000000
--- a/reference/parallel/parallel/sync/notify.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Sync::notify
- Synchronization
-
-
-
- &reftitle.description;
-
- publicparallel\Sync::notify
- boolall
-
-
- Shall notify one (by default) or all threads waiting on the synchronization object
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/set.xml b/reference/parallel/parallel/sync/set.xml
deleted file mode 100644
index 284df393b..000000000
--- a/reference/parallel/parallel/sync/set.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- parallel\Sync::set
- Access
-
-
-
- &reftitle.description;
-
- publicparallel\Sync::set
- scalarvalue
-
-
- Shall atomically set the value of the synchronization object
-
-
-
-
-
- Exceptions
-
-
- Shall throw parallel\Sync\Error\IllegalValue if value is non-scalar.
-
-
-
-
-
-
-
diff --git a/reference/parallel/parallel/sync/wait.xml b/reference/parallel/parallel/sync/wait.xml
deleted file mode 100644
index b893da2f2..000000000
--- a/reference/parallel/parallel/sync/wait.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- parallel\Sync::wait
- Synchronization
-
-
-
- &reftitle.description;
-
- publicparallel\Sync::wait
-
-
-
- Shall wait for notification on this synchronization object
-
-
-
-
-
-
-
diff --git a/reference/parallel/philosophy.xml b/reference/parallel/philosophy.xml
deleted file mode 100644
index a2d08dea6..000000000
--- a/reference/parallel/philosophy.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
- Philosophy
-
- This section contains philosophies important to writing parallel code and some details about the internal implementation of parallel.
-
-
- Do not communicate by sharing memory; instead, share memory by communicating.
-
- This philosophy which is embraced by parallel has its origins in Go, one of the most widely admired if not used platforms for writing parallel code at the moment.
- Go programmers have to work hard to live up to this ideal: PHP and parallel do all the hard work for the programmer, and by default.
-
-
- In conventional threading models found in other languages, generally threads are communicating with one another through nothing more than by virtue of the fact that
- they operate in the same address space.
- The programmer must deploy mutual exclusion, condition variables, and other low level threading or synchronization primitives in order to ensure proper communication
- of state and consistency.
-
-
- When the conventional model is inversed, it means that threads only share memory as a result of communication (a variable is passed over a Channel for example).
-
-
- When parallel passes a variable from one thread to another by any means - Task arguments, return via Future, and Channels - it is passed by value.
- In all but the case of unbuffered channels, the variable is also buffered so that it may not change (or be destroyed) before it is used in whichever thread the variable
- is being passed to. An unbuffered read over a channel is the only instance in which a thread directly reads memory allocated by another thread, it can do so safely because
- the thread that owns the memory is waiting for the read to complete before it can continue to manipulate it, and the thread that does not own the memory reads by value. When
- both threads continue, they are no longer sharing memory.
-
-
- This makes writing and reasoning about parallel code much easier than the conventional model of threading. It means the programmer does not need to consider that threads
- may be manipulating data concurrently, because that is not possible.
-
-
- This also makes PHP the perfect platform for implementing a parallel concurrency API based on CSP (message passing over channels), because PHP itself is shared nothing -
- PHP threads operate in their own virtual address space by default, and so may only share memory by communicating.
-
-
-
- Data should have a definitive single owner
-
- When approaching the CSP model for the first time, a programmer versed in the traditional model of threading may find themselves looking for concurrent data structures,
- because that is what they are used too: they pass around shared objects for manipulation.
-
-
- When it comes to the CSP model, there is no need for data structures to be shared by many tasks, and indeed, it is simpler if they are not. The data should be owned
- by a single task, changes to (or operations on) that data structure should be communicated over channels and performed by the owner of the data, the success, failure,
- or result (state) of the change (or operation) being communicated back.
-
-
- Once again the share nothing nature of PHP and copy by value nature of parallel helps the programmer to achieve this goal, no data will be shared by accident,
- only ever as a result of communication.
-
-
-
-
-
diff --git a/reference/parallel/setup.xml b/reference/parallel/setup.xml
deleted file mode 100644
index cf0f96009..000000000
--- a/reference/parallel/setup.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
- Installation
-
-
- &reftitle.required;
-
- parallel requires a build of PHP with ZTS (Zend Thread Safety) enabled
- (, or on non-Windows systems prior to PHP 8.0.0,
- )
-
-
-
- Zend Thread Safety cannot be enabled post build; it is a build time configuration option.
-
-
-
- parallel should build anywhere there is a working Posix Threads header (pthread.h) and ZTS build of PHP, including Windows (using the pthread-w32 project from redhat).
-
-
-
-
- &reftitle.install;
-
- parallel releases are hosted by PECL and the source code by
- github,
- the easiest route to installation is the normal PECL route:
- &url.pecl.package;parallel.
-
-
- Windows users can download prebuilt release binaries from the PECL website.
-
-
-
- Windows users need to take the additional step of adding pthreadVC2.dll (distributed with Windows releases) to their PATH.
-
-
-
-
-
-
-
diff --git a/reference/parallel/versions.xml b/reference/parallel/versions.xml
deleted file mode 100644
index 2f1d0c9a0..000000000
--- a/reference/parallel/versions.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/pcre/versions.xml b/reference/pcre/versions.xml
deleted file mode 100644
index fb4a16c68..000000000
--- a/reference/pcre/versions.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/posix/versions.xml b/reference/posix/versions.xml
deleted file mode 100644
index 180272faf..000000000
--- a/reference/posix/versions.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/pspell/versions.xml b/reference/pspell/versions.xml
deleted file mode 100644
index 390e9884a..000000000
--- a/reference/pspell/versions.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/reflection/reflectionclass/getreflectionconstant.xml b/reference/reflection/reflectionclass/getreflectionconstant.xml
deleted file mode 100644
index b81054c49..000000000
--- a/reference/reflection/reflectionclass/getreflectionconstant.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
- ReflectionClass::getReflectionConstant
- Gets a ReflectionClassConstant for a class's constant
-
-
-
- &reftitle.description;
-
- publicReflectionClassConstantfalseReflectionClass::getReflectionConstant
- stringname
-
-
- Gets a ReflectionClassConstant for a class's property.
-
-
-
-
-
- &reftitle.parameters;
-
-
-
- name
-
-
- The class constant name.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- A ReflectionClassConstant, &return.falseforfailure;.
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClass::getReflectionConstants
- ReflectionClassConstant
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclass/getreflectionconstants.xml b/reference/reflection/reflectionclass/getreflectionconstants.xml
deleted file mode 100644
index b46f9f924..000000000
--- a/reference/reflection/reflectionclass/getreflectionconstants.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
- ReflectionClass::getReflectionConstants
- Gets class constants
-
-
-
- &reftitle.description;
-
- publicarrayReflectionClass::getReflectionConstants
- intnullfilter&null;
-
-
- Retrieves reflected constants.
-
-
-
-
- &reftitle.parameters;
-
-
- filter
-
-
- The optional filter, for filtering desired constant visibilities. It's configured using
- the ReflectionClassConstant constants,
- and defaults to all constant visibilities.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- An array of ReflectionClassConstant objects.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- filter has been added.
-
-
-
-
-
-
-
-
- &reftitle.examples;
-
- Basic ReflectionClass::getReflectionConstants example
-
-getReflectionConstants();
-
-foreach ($consts as $const) {
- print $const->getName() . "\n";
-}
-
-var_dump($consts);
-
-?>
-]]>
-
- &example.outputs.similar;
-
-
- object(ReflectionClassConstant)#3 (2) {
- ["name"]=>
- string(3) "FOO"
- ["class"]=>
- string(3) "Foo"
- }
- [1]=>
- object(ReflectionClassConstant)#4 (2) {
- ["name"]=>
- string(3) "BAR"
- ["class"]=>
- string(3) "Foo"
- }
- [2]=>
- object(ReflectionClassConstant)#5 (2) {
- ["name"]=>
- string(3) "BAZ"
- ["class"]=>
- string(3) "Foo"
- }
-}
-]]>
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClass::getReflectionConstant
- ReflectionClassConstant
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant.xml b/reference/reflection/reflectionclassconstant.xml
deleted file mode 100644
index ab979c009..000000000
--- a/reference/reflection/reflectionclassconstant.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
- The ReflectionClassConstant class
- ReflectionClassConstant
-
-
-
-
-
- &reftitle.intro;
-
- The ReflectionClassConstant class reports
- information about a class constant.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- ReflectionClassConstant
-
-
-
-
- ReflectionClassConstant
-
-
-
- Reflector
-
-
-
- &Constants;
-
- const
- int
- ReflectionClassConstant::IS_PUBLIC
-
-
- const
- int
- ReflectionClassConstant::IS_PROTECTED
-
-
- const
- int
- ReflectionClassConstant::IS_PRIVATE
-
-
- &Properties;
-
- public
- name
-
-
- public
- class
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.properties;
-
-
- name
-
-
- Name of the class constant. Read-only, throws
- ReflectionException in attempt to write.
-
-
-
-
- class
-
-
- Name of the class where the class constant is defined. Read-only, throws
- ReflectionException in attempt to write.
-
-
-
-
-
-
-
-
-
- &reftitle.constants;
-
- ReflectionClassConstant Modifiers
-
-
-
- ReflectionClassConstant::IS_PUBLIC
-
-
- Indicates public
- constants.
-
-
-
-
-
- ReflectionClassConstant::IS_PROTECTED
-
-
- Indicates protected
- constants.
-
-
-
-
-
- ReflectionClassConstant::IS_PRIVATE
-
-
- Indicates private
- constants.
-
-
-
-
-
-
-
-
-
-
-
- &reference.reflection.entities.reflectionclassconstant;
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/construct.xml b/reference/reflection/reflectionclassconstant/construct.xml
deleted file mode 100644
index 36d14cdd0..000000000
--- a/reference/reflection/reflectionclassconstant/construct.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
- ReflectionClassConstant::__construct
- Constructs a ReflectionClassConstant
-
-
-
- &reftitle.description;
-
- publicReflectionClassConstant::__construct
- objectstringclass
- stringconstant
-
-
- Constructs a new ReflectionClassConstant object.
-
-
-
-
- &reftitle.parameters;
-
-
-
- class
-
-
- Either a string containing the name of the class to
- reflect, or an object.
-
-
-
-
- constant
-
-
- The name of the class constant.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns constructed ReflectionClassConstant instance.
-
-
-
-
- &reftitle.errors;
-
- Throws an Exception in case the given class constant does not exist.
-
-
-
-
- &reftitle.seealso;
-
-
- Constructors
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/export.xml b/reference/reflection/reflectionclassconstant/export.xml
deleted file mode 100644
index 920f910a6..000000000
--- a/reference/reflection/reflectionclassconstant/export.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::export
- Export
-
-
-
- &warn.deprecated.function-7-4-0;
-
-
-
- &reftitle.description;
-
- publicstaticstringReflectionClassConstant::export
- mixedclass
- stringname
- boolreturn
-
-
- Exports a reflection.
-
-
- &warn.undocumented.func;
-
-
-
-
- &reftitle.parameters;
-
-
-
- class
-
-
- &reflection.export.param.name;
-
-
-
-
- name
-
-
- The class constant name.
-
-
-
-
- return
-
-
- &reflection.export.param.return;
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClassConstant::__toString
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/getdeclaringclass.xml b/reference/reflection/reflectionclassconstant/getdeclaringclass.xml
deleted file mode 100644
index 5db2fb8c4..000000000
--- a/reference/reflection/reflectionclassconstant/getdeclaringclass.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::getDeclaringClass
- Gets declaring class
-
-
-
- &reftitle.description;
-
- publicReflectionClassReflectionClassConstant::getDeclaringClass
-
-
-
- Gets the declaring class.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- A ReflectionClass object.
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/getdoccomment.xml b/reference/reflection/reflectionclassconstant/getdoccomment.xml
deleted file mode 100644
index b2f22560a..000000000
--- a/reference/reflection/reflectionclassconstant/getdoccomment.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
- ReflectionClassConstant::getDocComment
- Gets doc comments
-
-
-
- &reftitle.description;
-
- publicstringfalseReflectionClassConstant::getDocComment
-
-
-
- Gets doc comments from a class constant.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The doc comment if it exists, otherwise &false;
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/getmodifiers.xml b/reference/reflection/reflectionclassconstant/getmodifiers.xml
deleted file mode 100644
index 910c460cc..000000000
--- a/reference/reflection/reflectionclassconstant/getmodifiers.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::getModifiers
- Gets the class constant modifiers
-
-
-
- &reftitle.description;
-
- publicintReflectionClassConstant::getModifiers
-
-
-
- Returns a bitfield of the access modifiers for this class constant.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- A numeric representation of the modifiers.
- The actual meanings of these modifiers are described in the
- predefined constants.
-
-
-
-
- &reftitle.seealso;
-
-
- Reflection::getModifierNames
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/getname.xml b/reference/reflection/reflectionclassconstant/getname.xml
deleted file mode 100644
index 32c37813c..000000000
--- a/reference/reflection/reflectionclassconstant/getname.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- ReflectionClassConstant::getName
- Get name of the constant
-
-
-
- &reftitle.description;
-
- publicstringfalseReflectionClassConstant::getName
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the constant's name, &return.falseforfailure;.
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/getvalue.xml b/reference/reflection/reflectionclassconstant/getvalue.xml
deleted file mode 100644
index 1c98566a4..000000000
--- a/reference/reflection/reflectionclassconstant/getvalue.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::getValue
- Gets value
-
-
-
- &reftitle.description;
-
- publicmixedReflectionClassConstant::getValue
-
-
-
- Gets the class constant's value.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- The value of the class constant.
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/isprivate.xml b/reference/reflection/reflectionclassconstant/isprivate.xml
deleted file mode 100644
index fbd330012..000000000
--- a/reference/reflection/reflectionclassconstant/isprivate.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::isPrivate
- Checks if class constant is private
-
-
-
- &reftitle.description;
-
- publicboolReflectionClassConstant::isPrivate
-
-
-
- Checks if the class constant is private.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if the class constant is private, otherwise &false;
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClassConstant::isPublic
- ReflectionClassConstant::isProtected
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/isprotected.xml b/reference/reflection/reflectionclassconstant/isprotected.xml
deleted file mode 100644
index e87ee2297..000000000
--- a/reference/reflection/reflectionclassconstant/isprotected.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::isProtected
- Checks if class constant is protected
-
-
-
- &reftitle.description;
-
- publicboolReflectionClassConstant::isProtected
-
-
-
- Checks if the class constant is protected.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if the class constant is protected, otherwise &false;
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClassConstant::isPublic
- ReflectionClassConstant::isPrivate
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/ispublic.xml b/reference/reflection/reflectionclassconstant/ispublic.xml
deleted file mode 100644
index 37d7ee068..000000000
--- a/reference/reflection/reflectionclassconstant/ispublic.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::isPublic
- Checks if class constant is public
-
-
-
- &reftitle.description;
-
- publicboolReflectionClassConstant::isPublic
-
-
-
- Checks if the class constant is public.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if the class constant is public, otherwise &false;
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClassConstant::isPrivate
- ReflectionClassConstant::isProtected
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionclassconstant/tostring.xml b/reference/reflection/reflectionclassconstant/tostring.xml
deleted file mode 100644
index eece1499a..000000000
--- a/reference/reflection/reflectionclassconstant/tostring.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
- ReflectionClassConstant::__toString
- Returns the string representation of the ReflectionClassConstant object
-
-
-
- &reftitle.description;
-
- publicstringReflectionClassConstant::__toString
-
-
-
- Returns the string representation of the ReflectionClassConstant object.
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- A string representation of this ReflectionClassConstant instance.
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionClassConstant::export
- __toString()
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionfunctionabstract/gettentativereturntype.xml b/reference/reflection/reflectionfunctionabstract/gettentativereturntype.xml
deleted file mode 100644
index 22b4ff11b..000000000
--- a/reference/reflection/reflectionfunctionabstract/gettentativereturntype.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
- ReflectionFunctionAbstract::getTentativeReturnType
- Returns the tentative return type associated with the function
-
-
-
- &reftitle.description;
-
- publicReflectionTypenullReflectionFunctionAbstract::getTentativeReturnType
-
-
-
- Returns the tentative return type associated with the function.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a ReflectionType object if a tentative return type is
- specified, &null; otherwise.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionFunctionAbstract::getTentativeReturnType example
-
-getTentativeReturnType());
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionFunctionAbstract::getReturnType
- ReflectionFunctionAbstract::hasTentativeReturnType
- Return Type Compatibility with Internal Classes
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionfunctionabstract/hasreturntype.xml b/reference/reflection/reflectionfunctionabstract/hasreturntype.xml
deleted file mode 100644
index 71791ce74..000000000
--- a/reference/reflection/reflectionfunctionabstract/hasreturntype.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
- ReflectionFunctionAbstract::hasReturnType
- Checks if the function has a specified return type
-
-
-
- &reftitle.description;
-
- publicboolReflectionFunctionAbstract::hasReturnType
-
-
-
- Checks whether the reflected function has a return type specified.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns &true; if the function is a specified return type, otherwise &false;.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionFunctionAbstract::hasReturnType example
-
-hasReturnType());
-]]>
-
- &example.outputs;
-
-
-
-
-
-
- Usage on built-in functions
-
-hasReturnType());
-]]>
-
- &example.outputs;
-
-
-
-
-
-
- This is because many internal functions do not have types specified for their
- parameters or return values. It is therefore best to avoid using this
- method on built-in functions.
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionFunctionAbstract::getReturnType
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator.xml b/reference/reflection/reflectiongenerator.xml
deleted file mode 100644
index 863763efc..000000000
--- a/reference/reflection/reflectiongenerator.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
- The ReflectionGenerator class
- ReflectionGenerator
-
-
-
-
-
- &reftitle.intro;
-
- The ReflectionGenerator class reports
- information about a generator.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- ReflectionGenerator
-
-
-
-
- ReflectionGenerator
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
-
-
-
- &reference.reflection.entities.reflectiongenerator;
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/construct.xml b/reference/reflection/reflectiongenerator/construct.xml
deleted file mode 100644
index 38369a41e..000000000
--- a/reference/reflection/reflectiongenerator/construct.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
- ReflectionGenerator::__construct
- Constructs a ReflectionGenerator object
-
-
-
- &reftitle.description;
-
- publicReflectionGenerator::__construct
- Generatorgenerator
-
-
- Constructs a ReflectionGenerator object.
-
-
-
-
- &reftitle.parameters;
-
-
-
- generator
-
-
- A generator object.
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- &return.void;
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::__construct example
-
-getFunction()->name}
-Line: {$reflectionGen->getExecutingLine()}
-File: {$reflectionGen->getExecutingFile()}
-output;
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getFunction
- ReflectionGenerator::getExecutingLine
- ReflectionGenerator::getExecutingFile
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/getexecutingfile.xml b/reference/reflection/reflectiongenerator/getexecutingfile.xml
deleted file mode 100644
index 71ed4ebd6..000000000
--- a/reference/reflection/reflectiongenerator/getexecutingfile.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- ReflectionGenerator::getExecutingFile
- Gets the file name of the currently executing generator
-
-
-
- &reftitle.description;
-
- publicstringReflectionGenerator::getExecutingFile
-
-
-
- Get the full path and file name of the currently executing generator.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the full path and file name of the currently executing generator.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getExecutingFile example
-
-gen();
-
-$reflectionGen = new ReflectionGenerator($gen);
-
-echo "File: {$reflectionGen->getExecutingFile()}";
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getExecutingLine
- ReflectionGenerator::getExecutingGenerator
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/getexecutinggenerator.xml b/reference/reflection/reflectiongenerator/getexecutinggenerator.xml
deleted file mode 100644
index 1df890238..000000000
--- a/reference/reflection/reflectiongenerator/getexecutinggenerator.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
- ReflectionGenerator::getExecutingGenerator
- Gets the executing Generator object
-
-
-
- &reftitle.description;
-
- publicGeneratorReflectionGenerator::getExecutingGenerator
-
-
-
- Get the executing Generator object
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the currently executing Generator object.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getExecutingGenerator example
-
-gen();
-
-$reflectionGen = new ReflectionGenerator($gen);
-
-$gen2 = $reflectionGen->getExecutingGenerator();
-
-var_dump($gen2 === $gen);
-var_dump($gen2->current());
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getExecutingLine
- ReflectionGenerator::getExecutingFile
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/getexecutingline.xml b/reference/reflection/reflectiongenerator/getexecutingline.xml
deleted file mode 100644
index 6e007c02f..000000000
--- a/reference/reflection/reflectiongenerator/getexecutingline.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
- ReflectionGenerator::getExecutingLine
- Gets the currently executing line of the generator
-
-
-
- &reftitle.description;
-
- publicintReflectionGenerator::getExecutingLine
-
-
-
- Get the currently executing line number of the generator.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the line number of the currently executing statement in the generator.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getExecutingLine example
-
-gen();
-
-$reflectionGen = new ReflectionGenerator($gen);
-
-echo "Line: {$reflectionGen->getExecutingLine()}";
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getExecutingGenerator
- ReflectionGenerator::getExecutingFile
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/getfunction.xml b/reference/reflection/reflectiongenerator/getfunction.xml
deleted file mode 100644
index d57ddd2e1..000000000
--- a/reference/reflection/reflectiongenerator/getfunction.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
- ReflectionGenerator::getFunction
- Gets the function name of the generator
-
-
-
- &reftitle.description;
-
- publicReflectionFunctionAbstractReflectionGenerator::getFunction
-
-
-
- Enables the function name of the generator to be obtained by returning a
- class derived from ReflectionFunctionAbstract.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a ReflectionFunctionAbstract class. This will
- be ReflectionFunction for functions, or
- ReflectionMethod for methods.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getFunction example
-
-getFunction());
-]]>
-
- &example.outputs.similar;
-
-
- string(3) "gen"
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getThis
- ReflectionGenerator::getTrace
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/getthis.xml b/reference/reflection/reflectiongenerator/getthis.xml
deleted file mode 100644
index 2416eee3a..000000000
--- a/reference/reflection/reflectiongenerator/getthis.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
- ReflectionGenerator::getThis
- Gets the $this value of the generator
-
-
-
- &reftitle.description;
-
- publicobjectnullReflectionGenerator::getThis
-
-
-
- Get the $this value that the generator has access to.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the $this value, or &null; if the generator was
- not created in a class context.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getThis example
-
-gen();
-
-$reflectionGen = new ReflectionGenerator($gen);
-
-var_dump($reflectionGen->getThis());
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getFunction
- ReflectionGenerator::getTrace
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiongenerator/gettrace.xml b/reference/reflection/reflectiongenerator/gettrace.xml
deleted file mode 100644
index 65b8f4816..000000000
--- a/reference/reflection/reflectiongenerator/gettrace.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
- ReflectionGenerator::getTrace
- Gets the trace of the executing generator
-
-
-
- &reftitle.description;
-
- publicarrayReflectionGenerator::getTrace
- intoptionsDEBUG_BACKTRACE_PROVIDE_OBJECT
-
-
- Get the trace of the currently executing generator.
-
-
-
-
- &reftitle.parameters;
-
-
-
- options
-
-
- The value of options can be any of
- the following flags.
-
-
-
- Available options
-
-
-
- Option
- Description
-
-
-
-
-
- DEBUG_BACKTRACE_PROVIDE_OBJECT
-
-
- Default.
-
-
-
-
- DEBUG_BACKTRACE_IGNORE_ARGS
-
-
- Don't include the argument information for functions in the stack
- trace.
-
-
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns the trace of the currently executing generator.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionGenerator::getTrace example
-
-valid(); // start the generator
-
-var_dump((new ReflectionGenerator($gen))->getTrace());
-]]>
-
- &example.outputs.similar;
-
-
- array(4) {
- ["file"]=>
- string(18) "example.php"
- ["line"]=>
- int(8)
- ["function"]=>
- string(3) "foo"
- ["args"]=>
- array(0) {
- }
- }
- [1]=>
- array(4) {
- ["file"]=>
- string(18) "example.php"
- ["line"]=>
- int(12)
- ["function"]=>
- string(3) "bar"
- ["args"]=>
- array(0) {
- }
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionGenerator::getFunction
- ReflectionGenerator::getThis
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionnamedtype.xml b/reference/reflection/reflectionnamedtype.xml
deleted file mode 100644
index 347efde6a..000000000
--- a/reference/reflection/reflectionnamedtype.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
- The ReflectionNamedType class
- ReflectionNamedType
-
-
-
-
-
- &reftitle.intro;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- ReflectionNamedType
-
-
-
-
- ReflectionNamedType
-
-
-
- extends
- ReflectionType
-
-
-
-
- &Methods;
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
- &reference.reflection.entities.reflectionnamedtype;
-
-
-
-
diff --git a/reference/reflection/reflectionnamedtype/getname.xml b/reference/reflection/reflectionnamedtype/getname.xml
deleted file mode 100644
index 8d2bcbf4f..000000000
--- a/reference/reflection/reflectionnamedtype/getname.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- ReflectionNamedType::getName
- Get the text of the type hint
-
-
-
- &reftitle.description;
-
- publicstringReflectionNamedType::getName
-
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the text of the type hint.
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionType::__toString
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionnamedtype/isbuiltin.xml b/reference/reflection/reflectionnamedtype/isbuiltin.xml
deleted file mode 100644
index 1e18bb8c1..000000000
--- a/reference/reflection/reflectionnamedtype/isbuiltin.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
- ReflectionNamedType::isBuiltin
- Checks if it is a built-in type
-
-
-
- &reftitle.description;
-
- publicboolReflectionNamedType::isBuiltin
-
-
-
- Checks if the type is a built-in type in PHP.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if it's a built-in type, otherwise &false;
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionNamedType::isBuiltin example
-
-getParameters();
-
-var_dump($reflectionParams[0]->getType()->isBuiltin());
-var_dump($reflectionParams[1]->getType()->isBuiltin());
-var_dump($reflectionParams[2]->getType()->isBuiltin());
-]]>
-
- &example.outputs;
-
-
-
-
-
-
- Note that the ReflectionNamedType::isBuiltin method
- does not distinguish between internal and custom classes. To make this
- distinction, the ReflectionClass::isInternal method
- should be used on the returned class name.
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionType::allowsNull
- ReflectionType::__toString
- ReflectionClass::isInternal
- ReflectionParameter::getType
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionreference/fromarrayelement.xml b/reference/reflection/reflectionreference/fromarrayelement.xml
deleted file mode 100644
index 93da7f703..000000000
--- a/reference/reflection/reflectionreference/fromarrayelement.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
- ReflectionReference::fromArrayElement
- Create a ReflectionReference from an array element
-
-
-
- &reftitle.description;
-
- publicstaticReflectionReferencenullReflectionReference::fromArrayElement
- arrayarray
- intstringkey
-
-
- Creates a ReflectionReference from an array element.
-
-
-
-
- &reftitle.parameters;
-
-
- array
-
-
- The &array; which contains the potential reference.
-
-
-
-
- key
-
-
- The key; either an &integer; or a &string;.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a ReflectionReference instance if
- $array[$key] is a reference, or &null; otherwise.
-
-
-
-
- &reftitle.errors;
-
- If array is not an &array;, or key
- is not an &integer; or &string;, a TypeError is thrown.
- If $array[$key] does not exist,
- a ReflectionException is thrown.
-
-
-
-
-
diff --git a/reference/reflection/reflectionreference/getid.xml b/reference/reflection/reflectionreference/getid.xml
deleted file mode 100644
index 1cefb6640..000000000
--- a/reference/reflection/reflectionreference/getid.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
- ReflectionReference::getId
- Get unique ID of a reference
-
-
-
- &reftitle.description;
-
- publicstringReflectionReference::getId
-
-
-
- Returns an ID which is unique for the reference for the lifetime of that reference.
- This ID can be used to compare references for equality, or to maintain a map of
- known references.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns a &string; of unspecified format.
-
-
-
-
- &reftitle.examples;
-
- Basic ReflectionReference::getId usage
-
-getId() === $rr2->getId());
-var_dump($rr1->getId() === $rr3->getId());
-?>
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiontype.xml b/reference/reflection/reflectiontype.xml
deleted file mode 100644
index 2469e6e0a..000000000
--- a/reference/reflection/reflectiontype.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
- The ReflectionType class
- ReflectionType
-
-
-
-
-
- &reftitle.intro;
-
- The ReflectionType class reports
- information about a function's return type.
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- ReflectionType
-
-
-
-
- abstract
- ReflectionType
-
-
-
- &Methods;
-
-
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- ReflectionType has become abstract and ReflectionType::isBuiltin
- has been moved to ReflectionNamedType::isBuiltin.
-
-
-
-
-
-
-
-
-
-
- &reference.reflection.entities.reflectiontype;
-
-
-
-
diff --git a/reference/reflection/reflectiontype/allowsnull.xml b/reference/reflection/reflectiontype/allowsnull.xml
deleted file mode 100644
index c0993cfd1..000000000
--- a/reference/reflection/reflectiontype/allowsnull.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
- ReflectionType::allowsNull
- Checks if null is allowed
-
-
-
- &reftitle.description;
-
- publicboolReflectionType::allowsNull
-
-
-
- Checks whether the parameter allows &null;.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- &true; if &null; is allowed, otherwise &false;
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionType::allowsNull example
-
-getParameters();
-
-var_dump($reflectionParams[0]->getType()->allowsNull());
-var_dump($reflectionParams[1]->getType()->allowsNull());
-]]>
-
- &example.outputs;
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionNamedType::isBuiltin
- ReflectionType::__toString
- ReflectionParameter::getType
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectiontype/tostring.xml b/reference/reflection/reflectiontype/tostring.xml
deleted file mode 100644
index 36718fe50..000000000
--- a/reference/reflection/reflectiontype/tostring.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
- ReflectionType::__toString
- To string
-
-
-
- &warn.deprecated.function-7-1-0;
-
-
-
- &reftitle.description;
-
- publicstringReflectionType::__toString
-
-
-
- Gets the parameter type name.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- Returns the type of the parameter.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionType::__toString example
-
-getParameters()[0];
-
-echo $reflectionParam->getType();
-]]>
-
- &example.outputs.similar;
-
-
-
-
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 7.1.0
-
- ReflectionType::__toString has been deprecated.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionNamedType::getName
- ReflectionNamedType::isBuiltin
- ReflectionType::allowsNull
- ReflectionUnionType::getTypes
- ReflectionParameter::getType
-
-
-
-
-
-
-
diff --git a/reference/reflection/reflectionuniontype.xml b/reference/reflection/reflectionuniontype.xml
deleted file mode 100644
index ec8af841b..000000000
--- a/reference/reflection/reflectionuniontype.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
- The ReflectionUnionType class
- ReflectionUnionType
-
-
-
-
-
- &reftitle.intro;
-
-
-
-
-
-
-
- &reftitle.classsynopsis;
-
-
-
- ReflectionUnionType
-
-
-
-
- ReflectionUnionType
-
-
-
- extends
- ReflectionType
-
-
-
-
- &Methods;
-
-
-
- &InheritedMethods;
-
-
-
-
-
-
-
-
-
-
-
- &reference.reflection.entities.reflectionuniontype;
-
-
-
-
diff --git a/reference/reflection/reflectionuniontype/gettypes.xml b/reference/reflection/reflectionuniontype/gettypes.xml
deleted file mode 100644
index 68986ffcd..000000000
--- a/reference/reflection/reflectionuniontype/gettypes.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
- ReflectionUnionType::getTypes
- Returns the types included in the union type
-
-
-
- &reftitle.description;
-
- publicarrayReflectionUnionType::getTypes
-
-
-
- Returns the reflections of types included in the union type.
-
-
-
-
- &reftitle.parameters;
- &no.function.parameters;
-
-
-
- &reftitle.returnvalues;
-
- An array of ReflectionType objects.
-
-
-
-
- &reftitle.examples;
-
-
- ReflectionUnionType::getTypes example
-
-getParameters()[0];
-
-var_dump($reflectionParam->getType()->getTypes());
-]]>
-
- &example.outputs.similar;
-
-
- class ReflectionNamedType#4(0) {
- }
- [1] =>
- class ReflectionNamedType#5(0) {
- }
-}
-]]>
-
-
-
-
-
-
- &reftitle.seealso;
-
-
- ReflectionType::allowsNull
- ReflectionParameter::getType
-
-
-
-
-
-
-
diff --git a/reference/runkit7/versions.xml b/reference/runkit7/versions.xml
deleted file mode 100644
index cae3ca7a4..000000000
--- a/reference/runkit7/versions.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/sem/versions.xml b/reference/sem/versions.xml
deleted file mode 100644
index ead52ae3b..000000000
--- a/reference/sem/versions.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/session/versions.xml b/reference/session/versions.xml
deleted file mode 100644
index 66f1002b3..000000000
--- a/reference/session/versions.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/simplexml/versions.xml b/reference/simplexml/versions.xml
deleted file mode 100644
index 3fa75285f..000000000
--- a/reference/simplexml/versions.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/sockets/versions.xml b/reference/sockets/versions.xml
deleted file mode 100644
index b3d83ebb4..000000000
--- a/reference/sockets/versions.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/solr/versions.xml b/reference/solr/versions.xml
deleted file mode 100644
index a457d295b..000000000
--- a/reference/solr/versions.xml
+++ /dev/null
@@ -1,416 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/stream/versions.xml b/reference/stream/versions.xml
deleted file mode 100644
index f51a5f87e..000000000
--- a/reference/stream/versions.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/strings/versions.xml b/reference/strings/versions.xml
deleted file mode 100644
index 2cc742d3f..000000000
--- a/reference/strings/versions.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/uodbc/versions.xml b/reference/uodbc/versions.xml
deleted file mode 100644
index 7ee1cf7a8..000000000
--- a/reference/uodbc/versions.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/url/versions.xml b/reference/url/versions.xml
deleted file mode 100644
index 643cd2c45..000000000
--- a/reference/url/versions.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/var/versions.xml b/reference/var/versions.xml
deleted file mode 100644
index b1805f6f0..000000000
--- a/reference/var/versions.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/win32service/versions.xml b/reference/win32service/versions.xml
deleted file mode 100644
index 6738b07f5..000000000
--- a/reference/win32service/versions.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/reference/yaml/versions.xml b/reference/yaml/versions.xml
deleted file mode 100644
index f3298d954..000000000
--- a/reference/yaml/versions.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/reference/zlib/functions/deflate_add.xml b/reference/zlib/functions/deflate_add.xml
deleted file mode 100644
index 6af623540..000000000
--- a/reference/zlib/functions/deflate_add.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
- deflate_add
- Incrementally deflate data
-
-
-
- &reftitle.description;
-
- stringfalsedeflate_add
- DeflateContextcontext
- stringdata
- intflush_modeZLIB_SYNC_FLUSH
-
-
- Incrementally deflates data in the specified context.
-
-
-
-
- &reftitle.parameters;
-
-
- context
-
-
- A context created with deflate_init.
-
-
-
-
- data
-
-
- A chunk of data to compress.
-
-
-
-
- flush_mode
-
-
- One of ZLIB_BLOCK,
- ZLIB_NO_FLUSH,
- ZLIB_PARTIAL_FLUSH,
- ZLIB_SYNC_FLUSH (default),
- ZLIB_FULL_FLUSH, ZLIB_FINISH.
- Normally you will want to set ZLIB_NO_FLUSH to
- maximize compression, and ZLIB_FINISH to terminate
- with the last chunk of data. See the zlib manual for a
- detailed description of these constants.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a chunk of compressed data, &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If invalid arguments are given, an error of level
- E_WARNING is generated.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- context expects a DeflateContext
- instance now; previously, a resource was expected.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- deflate_init
-
-
-
-
-
diff --git a/reference/zlib/functions/deflate_init.xml b/reference/zlib/functions/deflate_init.xml
deleted file mode 100644
index c0d1b642b..000000000
--- a/reference/zlib/functions/deflate_init.xml
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
- deflate_init
- Initialize an incremental deflate context
-
-
-
- &reftitle.description;
-
- DeflateContextfalsedeflate_init
- intencoding
- arrayoptions[]
-
-
- Initializes an incremental deflate context using the specified
- encoding.
-
-
- Note that the window option here only sets the window size
- of the algorithm, differently from the zlib filters where the same parameter
- also sets the encoding to use; the encoding must be set with the
- encoding parameter.
-
-
- Limitation: there is currently no way to set the header information on a GZIP
- compressed stream, which are set as follows: GZIP signature
- (\x1f\x8B); compression method (\x08
- == DEFLATE); 6 zero bytes; the operating system set to the current system
- (\x00 = Windows, \x03 = Unix, etc.)
-
-
-
-
- &reftitle.parameters;
-
-
- encoding
-
-
- One of the ZLIB_ENCODING_* constants.
-
-
-
-
- options
-
-
- An associative array which may contain the following elements:
-
-
- level
-
-
- The compression level in range -1..9; defaults to -1.
-
-
-
-
- memory
-
-
- The compression memory level in range 1..9; defaults to 8.
-
-
-
-
- window
-
-
- The zlib window size (logarithmic) in range 8..15;
- defaults to 15.
- zlib changes a window size of 8 to 9,
- and as of zlib 1.2.8 fails with a warning, if a window size of 8
- is requested for ZLIB_ENCODING_RAW or ZLIB_ENCODING_GZIP.
-
-
-
-
- strategy
-
-
- One of ZLIB_FILTERED,
- ZLIB_HUFFMAN_ONLY, ZLIB_RLE,
- ZLIB_FIXED or
- ZLIB_DEFAULT_STRATEGY (the default).
-
-
-
-
- dictionary
-
-
- A string or an array of strings
- of the preset dictionary (default: no preset dictionary).
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a deflate context resource (zlib.deflate) on
- success, &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If an invalid option is passed to options or the
- context couldn't be created, an error of level E_WARNING
- is generated.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- On success, this function returns a DeflateContext instance now;
- previously, a resource was returned.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- deflate_add
- inflate_init
-
-
-
-
-
diff --git a/reference/zlib/functions/inflate-get-read-len.xml b/reference/zlib/functions/inflate-get-read-len.xml
deleted file mode 100644
index 599508c10..000000000
--- a/reference/zlib/functions/inflate-get-read-len.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
- inflate_get_read_len
- Get number of bytes read so far
-
-
-
- &reftitle.description;
-
- intinflate_get_read_len
- InflateContextcontext
-
-
-
-
-
- &warn.undocumented.func;
-
-
-
-
- &reftitle.parameters;
-
-
- context
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns number of bytes read so far&return.falseforfailure;.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- context expects an InflateContext
- instance now; previously, a resource was expected.
-
-
-
-
-
-
-
-
-
diff --git a/reference/zlib/functions/inflate-get-status.xml b/reference/zlib/functions/inflate-get-status.xml
deleted file mode 100644
index b913c5da9..000000000
--- a/reference/zlib/functions/inflate-get-status.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
- inflate_get_status
- Get decompression status
-
-
-
- &reftitle.description;
-
- intinflate_get_status
- InflateContextcontext
-
-
- Usually returns either ZLIB_OK or ZLIB_STREAM_END.
-
-
-
-
-
- &reftitle.parameters;
-
-
- context
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns decompression status&return.falseforfailure;.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- context expects an InflateContext
- instance now; previously, a resource was expected.
-
-
-
-
-
-
-
-
-
diff --git a/reference/zlib/functions/inflate_add.xml b/reference/zlib/functions/inflate_add.xml
deleted file mode 100644
index 6e62ec88c..000000000
--- a/reference/zlib/functions/inflate_add.xml
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
- inflate_add
- Incrementally inflate encoded data
-
-
-
- &reftitle.description;
-
- stringfalseinflate_add
- InflateContextcontext
- stringdata
- intflush_modeZLIB_SYNC_FLUSH
-
-
- Incrementally inflates encoded data in the specified context.
-
-
- Limitation: header information from GZIP compressed data are not made
- available.
-
-
-
-
- &reftitle.parameters;
-
-
- context
-
-
- A context created with inflate_init.
-
-
-
-
- data
-
-
- A chunk of compressed data.
-
-
-
-
- flush_mode
-
-
- One of ZLIB_BLOCK,
- ZLIB_NO_FLUSH,
- ZLIB_PARTIAL_FLUSH,
- ZLIB_SYNC_FLUSH (default),
- ZLIB_FULL_FLUSH, ZLIB_FINISH.
- Normally you will want to set ZLIB_NO_FLUSH to
- maximize compression, and ZLIB_FINISH to terminate
- with the last chunk of data. See the zlib manual for a
- detailed description of these constants.
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns a chunk of uncompressed data, &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If invalid parameters are given, inflating the data requires a preset
- dictionary, but none is specified, the compressed stream is corrupt or has an
- invalid checksum, an error of level E_WARNING is
- generated.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- context expects an InflateContext
- instance now; previously, a resource was expected.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- inflate_init
-
-
-
-
-
diff --git a/reference/zlib/functions/inflate_init.xml b/reference/zlib/functions/inflate_init.xml
deleted file mode 100644
index d8174442b..000000000
--- a/reference/zlib/functions/inflate_init.xml
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
- inflate_init
- Initialize an incremental inflate context
-
-
-
- &reftitle.description;
-
- InflateContextfalseinflate_init
- intencoding
- arrayoptions[]
-
-
- Initialize an incremental inflate context with the specified
- encoding.
-
-
-
-
- &reftitle.parameters;
-
-
- encoding
-
-
- One of the ZLIB_ENCODING_* constants.
-
-
-
-
- options
-
-
- An associative array which may contain the following elements:
-
-
- level
-
-
- The compression level in range -1..9; defaults to -1.
-
-
-
-
- memory
-
-
- The compression memory level in range 1..9; defaults to 8.
-
-
-
-
- window
-
-
- The zlib window size (logarithmic) in range 8..15; defaults to 15.
-
-
-
-
- strategy
-
-
- One of ZLIB_FILTERED,
- ZLIB_HUFFMAN_ONLY, ZLIB_RLE,
- ZLIB_FIXED or
- ZLIB_DEFAULT_STRATEGY (the default).
-
-
-
-
- dictionary
-
-
- A string or an array of strings
- of the preset dictionary (default: no preset dictionary).
-
-
-
-
-
-
-
-
-
-
-
- &reftitle.returnvalues;
-
- Returns an inflate context resource (zlib.inflate) on
- success, &return.falseforfailure;.
-
-
-
-
- &reftitle.errors;
-
- If an invalid encoding or option is passed to options,
- or the context couldn't be created, an error of level
- E_WARNING is generated.
-
-
-
-
- &reftitle.changelog;
-
-
-
-
- &Version;
- &Description;
-
-
-
-
- 8.0.0
-
- On success, this function returns an InflateContext instance now;
- previously, a resource was returned.
-
-
-
-
-
-
-
-
- &reftitle.seealso;
-
- inflate_add
- deflate_init
-
-
-
-
-
diff --git a/reference/zlib/versions.xml b/reference/zlib/versions.xml
deleted file mode 100644
index 6e2092c53..000000000
--- a/reference/zlib/versions.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file