diff options
| author | Remi Collet <remi@remirepo.net> | 2025-04-10 10:06:42 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2025-04-10 10:06:42 +0200 | 
| commit | 562cf6c1bbe02f1986d5d657aa45a7d70ca90460 (patch) | |
| tree | 70a30f2407e45e21a4998480c54611c801ccd3f9 | |
| parent | e91842a0f2afe0a02d2da0bad64d78f5f0717206 (diff) | |
resync
| -rw-r--r-- | PHPINFO | 18 | ||||
| -rw-r--r-- | REFLECTION | 3367 | ||||
| -rw-r--r-- | php-pecl-mongodb2.spec | 425 | 
3 files changed, 3203 insertions, 607 deletions
@@ -2,26 +2,28 @@  mongodb  MongoDB support => enabled -MongoDB extension version => 1.7.5 +MongoDB extension version => 1.21.0  MongoDB extension stability => stable -libbson headers version => 1.16.2 -libbson library version => 1.17.0-pre -libmongoc headers version => 1.16.2 -libmongoc library version => 1.17.0-pre +libbson headers version => 1.30.1 +libbson library version => 1.30.1 +libmongoc headers version => 1.30.1 +libmongoc library version => 1.30.1  libmongoc SSL => enabled  libmongoc SSL library => OpenSSL  libmongoc crypto => enabled  libmongoc crypto library => libcrypto  libmongoc crypto system profile => enabled  libmongoc SASL => enabled -libmongoc ICU => enabled +libmongoc SRV => enabled  libmongoc compression => enabled  libmongoc compression snappy => enabled  libmongoc compression zlib => enabled -libmongocrypt headers version => 1.0.4 -libmongocrypt library version => 1.0.4 +libmongoc compression zstd => enabled +libmongocrypt headers version => 1.13.0 +libmongocrypt library version => 1.13.0  libmongocrypt crypto => enabled  libmongocrypt crypto library => libcrypto +crypt_shared library version => unknown  Directive => Local Value => Master Value  mongodb.debug => no value => no value @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #70 mongodb version 1.7.5 ] { +Extension [ <persistent> extension #128 mongodb version 1.21.0 ] {    - Dependencies {      Dependency [ date (Required) ] @@ -14,63 +14,80 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {    }    - Constants [2] { -    Constant [ string MONGODB_VERSION ] { 1.7.5 } +    Constant [ string MONGODB_VERSION ] { 1.21.0 }      Constant [ string MONGODB_STABILITY ] { stable }    }    - Functions { -    Function [ <internal:mongodb> function MongoDB\BSON\fromPHP ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\fromJSON ] {        - Parameters [1] { -        Parameter #0 [ <required> $value ] +        Parameter #0 [ <required> string $json ]        } +      - Return [ string ]      } -    Function [ <internal:mongodb> function MongoDB\BSON\toPHP ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\fromPHP ] { -      - Parameters [2] { -        Parameter #0 [ <required> $bson ] -        Parameter #1 [ <optional> array $typemap ] +      - Parameters [1] { +        Parameter #0 [ <required> object|array $value ]        } +      - Return [ string ]      } -    Function [ <internal:mongodb> function MongoDB\BSON\toJSON ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\toCanonicalExtendedJSON ] {        - Parameters [1] { -        Parameter #0 [ <required> $bson ] +        Parameter #0 [ <required> string $bson ]        } +      - Return [ string ]      } -    Function [ <internal:mongodb> function MongoDB\BSON\toCanonicalExtendedJSON ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\toJSON ] {        - Parameters [1] { -        Parameter #0 [ <required> $bson ] +        Parameter #0 [ <required> string $bson ]        } +      - Return [ string ]      } -    Function [ <internal:mongodb> function MongoDB\BSON\toRelaxedExtendedJSON ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\toPHP ] { -      - Parameters [1] { -        Parameter #0 [ <required> $bson ] +      - Parameters [2] { +        Parameter #0 [ <required> string $bson ] +        Parameter #1 [ <optional> ?array $typemap = null ]        } +      - Return [ object|array ]      } -    Function [ <internal:mongodb> function MongoDB\BSON\fromJSON ] { +    Function [ <internal, deprecated:mongodb> function MongoDB\BSON\toRelaxedExtendedJSON ] {        - Parameters [1] { -        Parameter #0 [ <required> $json ] +        Parameter #0 [ <required> string $bson ]        } +      - Return [ string ]      }      Function [ <internal:mongodb> function MongoDB\Driver\Monitoring\addSubscriber ] {        - Parameters [1] {          Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ]        } +      - Return [ void ] +    } +    Function [ <internal:mongodb> function MongoDB\Driver\Monitoring\mongoc_log ] { + +      - Parameters [3] { +        Parameter #0 [ <required> int $level ] +        Parameter #1 [ <required> string $domain ] +        Parameter #2 [ <required> string $message ] +      } +      - Return [ void ]      }      Function [ <internal:mongodb> function MongoDB\Driver\Monitoring\removeSubscriber ] {        - Parameters [1] {          Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ]        } +      - Return [ void ]      }    } -  - Classes [62] { +  - Classes [79] {      Interface [ <internal:mongodb> interface MongoDB\BSON\Type ] {        - Constants [0] { @@ -108,6 +125,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ stdClass|MongoDB\BSON\Document|MongoDB\BSON\PackedArray|array ]          }        }      } @@ -132,11 +150,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [1] {              Parameter #0 [ <required> array $data ]            } +          - Tentative return [ void ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\BinaryInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\BinaryInterface extends Stringable ] {        - Constants [0] {        } @@ -155,23 +174,26 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }          Method [ <internal:mongodb> abstract public method getType ] {            - Parameters [0] {            } +          - Tentative return [ int ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\Decimal128Interface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\Decimal128Interface extends Stringable ] {        - Constants [0] {        } @@ -190,11 +212,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\JavascriptInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\JavascriptInterface extends Stringable ] {        - Constants [0] {        } @@ -213,18 +236,21 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }          Method [ <internal:mongodb> abstract public method getScope ] {            - Parameters [0] {            } +          - Tentative return [ ?object ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }        }      } @@ -265,7 +291,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\ObjectIdInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\ObjectIdInterface extends Stringable ] {        - Constants [0] {        } @@ -284,17 +310,19 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ int ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\RegexInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\RegexInterface extends Stringable ] {        - Constants [0] {        } @@ -309,27 +337,30 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [3] { -        Method [ <internal:mongodb> abstract public method getFlags ] { +        Method [ <internal:mongodb> abstract public method getPattern ] {            - Parameters [0] {            } +          - Tentative return [ string ]          } -        Method [ <internal:mongodb> abstract public method getPattern ] { +        Method [ <internal:mongodb> abstract public method getFlags ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\TimestampInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\TimestampInterface extends Stringable ] {        - Constants [0] {        } @@ -344,27 +375,30 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [3] { -        Method [ <internal:mongodb> abstract public method getIncrement ] { +        Method [ <internal:mongodb> abstract public method getTimestamp ] {            - Parameters [0] {            } +          - Tentative return [ int ]          } -        Method [ <internal:mongodb> abstract public method getTimestamp ] { +        Method [ <internal:mongodb> abstract public method getIncrement ] {            - Parameters [0] {            } +          - Tentative return [ int ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Tentative return [ string ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\UTCDateTimeInterface ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\UTCDateTimeInterface extends Stringable ] {        - Constants [0] {        } @@ -383,19 +417,409 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ DateTime ]          }          Method [ <internal:mongodb> abstract public method __toString ] {            - Parameters [0] {            } +          - Tentative return [ string ] +        } +      } +    } + +    Class [ <internal:mongodb> <iterateable> final class MongoDB\BSON\Iterator implements Iterator, Traversable ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype Iterator> final public method current ] { + +          - Parameters [0] { +          } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb, prototype Iterator> final public method key ] { + +          - Parameters [0] { +          } +          - Return [ string|int ] +        } + +        Method [ <internal:mongodb, prototype Iterator> final public method next ] { + +          - Parameters [0] { +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype Iterator> final public method rewind ] { + +          - Parameters [0] { +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype Iterator> final public method valid ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } +      } +    } + +    Class [ <internal:mongodb> <iterateable> final class MongoDB\BSON\PackedArray implements Stringable, IteratorAggregate, Traversable, Serializable, ArrayAccess, MongoDB\BSON\Type ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [3] { +        Method [ <internal:mongodb> final static public method fromJSON ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $json ] +          } +          - Return [ MongoDB\BSON\PackedArray ] +        } + +        Method [ <internal:mongodb> final static public method fromPHP ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $value ] +          } +          - Return [ MongoDB\BSON\PackedArray ] +        } + +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\PackedArray ] +        } +      } + +      - Properties [0] { +      } + +      - Methods [16] { +        Method [ <internal:mongodb, ctor> private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method get ] { + +          - Parameters [1] { +            Parameter #0 [ <required> int $index ] +          } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb, prototype IteratorAggregate> final public method getIterator ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\Iterator ] +        } + +        Method [ <internal:mongodb> final public method has ] { + +          - Parameters [1] { +            Parameter #0 [ <required> int $index ] +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb> final public method toPHP ] { + +          - Parameters [1] { +            Parameter #0 [ <optional> ?array $typeMap = null ] +          } +          - Return [ object|array ] +        } + +        Method [ <internal:mongodb> final public method toCanonicalExtendedJSON ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method toRelaxedExtendedJSON ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetExists ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetGet ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetSet ] { + +          - Parameters [2] { +            Parameter #0 [ <required> mixed $offset ] +            Parameter #1 [ <required> mixed $value ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetUnset ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } +      } +    } + +    Class [ <internal:mongodb> <iterateable> final class MongoDB\BSON\Document implements Stringable, IteratorAggregate, Traversable, Serializable, ArrayAccess, MongoDB\BSON\Type ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [4] { +        Method [ <internal:mongodb> final static public method fromBSON ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $bson ] +          } +          - Return [ MongoDB\BSON\Document ] +        } + +        Method [ <internal:mongodb> final static public method fromJSON ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $json ] +          } +          - Return [ MongoDB\BSON\Document ] +        } + +        Method [ <internal:mongodb> final static public method fromPHP ] { + +          - Parameters [1] { +            Parameter #0 [ <required> object|array $value ] +          } +          - Return [ MongoDB\BSON\Document ] +        } + +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\Document ] +        } +      } + +      - Properties [0] { +      } + +      - Methods [16] { +        Method [ <internal:mongodb, ctor> private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method get ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $key ] +          } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb, prototype IteratorAggregate> final public method getIterator ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\Iterator ] +        } + +        Method [ <internal:mongodb> final public method has ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $key ] +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb> final public method toPHP ] { + +          - Parameters [1] { +            Parameter #0 [ <optional> ?array $typeMap = null ] +          } +          - Return [ object|array ] +        } + +        Method [ <internal:mongodb> final public method toCanonicalExtendedJSON ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method toRelaxedExtendedJSON ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetExists ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetGet ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetSet ] { + +          - Parameters [2] { +            Parameter #0 [ <required> mixed $offset ] +            Parameter #1 [ <required> mixed $value ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype ArrayAccess> public method offsetUnset ] { + +          - Parameters [1] { +            Parameter #0 [ <required> mixed $offset ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Binary implements MongoDB\BSON\BinaryInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Binary implements Stringable, MongoDB\BSON\BinaryInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { -      - Constants [8] { +      - Constants [10] {          Constant [ public int TYPE_GENERIC ] { 0 }          Constant [ public int TYPE_FUNCTION ] { 1 }          Constant [ public int TYPE_OLD_BINARY ] { 2 } @@ -403,6 +827,8 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {          Constant [ public int TYPE_UUID ] { 4 }          Constant [ public int TYPE_MD5 ] { 5 }          Constant [ public int TYPE_ENCRYPTED ] { 6 } +        Constant [ public int TYPE_COLUMN ] { 7 } +        Constant [ public int TYPE_SENSITIVE ] { 8 }          Constant [ public int TYPE_USER_DEFINED ] { 128 }        } @@ -410,66 +836,88 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\Binary ]          }        }        - Properties [0] {        } -      - Methods [7] { +      - Methods [9] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [2] { -            Parameter #0 [ <required> $data ] -            Parameter #1 [ <required> $type ] +            Parameter #0 [ <required> string $data ] +            Parameter #1 [ <optional> int $type = MongoDB\BSON\Binary::TYPE_GENERIC ]            }          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method __toString ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getData ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getType ] {            - Parameters [0] {            } +          - Return [ int ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getData ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getType ] { +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\DBPointer implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\DBPointer implements Stringable, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -477,47 +925,73 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Static properties [0] {        } -      - Static methods [0] { +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\DBPointer ] +        }        }        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method __toString ] { +      - Methods [7] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] { +          } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Decimal128 implements MongoDB\BSON\Decimal128Interface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Decimal128 implements Stringable, MongoDB\BSON\Decimal128Interface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -526,22 +1000,23 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\Decimal128 ]          }        }        - Properties [0] {        } -      - Methods [5] { +      - Methods [7] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { -            Parameter #0 [ <required> $value ] +            Parameter #0 [ <required> string $value ]            }          } @@ -549,30 +1024,49 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { +        Method [ <internal:mongodb> final public method __unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Int64 implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Int64 implements Stringable, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -580,47 +1074,74 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Static properties [0] {        } -      - Static methods [0] { +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\Int64 ] +        }        }        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method __toString ] { +      - Methods [7] { +        Method [ <internal:mongodb, ctor> final public method __construct ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string|int $value ]            }          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Javascript implements MongoDB\BSON\JavascriptInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Javascript implements Stringable, MongoDB\BSON\JavascriptInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -629,61 +1150,83 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\Javascript ]          }        }        - Properties [0] {        } -      - Methods [7] { +      - Methods [9] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [2] { -            Parameter #0 [ <required> $javascript ] -            Parameter #1 [ <optional> $scope ] +            Parameter #0 [ <required> string $code ] +            Parameter #1 [ <optional> object|array|null $scope = null ]            }          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method __toString ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getCode ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getScope ] {            - Parameters [0] {            } +          - Return [ ?object ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getCode ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getScope ] { +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } @@ -697,35 +1240,54 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\MaxKey ]          }        }        - Properties [0] {        } -      - Methods [3] { -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +      - Methods [5] { +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { +        Method [ <internal:mongodb> final public method __unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> array $data ]            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] { +          } +          - Return [ mixed ]          }        }      } @@ -739,40 +1301,59 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\MinKey ]          }        }        - Properties [0] {        } -      - Methods [3] { -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +      - Methods [5] { +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { +        Method [ <internal:mongodb> final public method __unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] {            } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] { +          } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\ObjectId implements MongoDB\BSON\ObjectIdInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\ObjectId implements Stringable, MongoDB\BSON\ObjectIdInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -781,22 +1362,23 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\ObjectId ]          }        }        - Properties [0] {        } -      - Methods [6] { +      - Methods [8] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { -            Parameter #0 [ <optional> $id ] +            Parameter #0 [ <optional> ?string $id = null ]            }          } @@ -804,36 +1386,56 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ int ]          }          Method [ <internal:mongodb, prototype MongoDB\BSON\ObjectIdInterface> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { +        Method [ <internal:mongodb> final public method __unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> array $data ]            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] { +          } +          - Return [ mixed ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\BSON\Persistable extends MongoDB\BSON\Unserializable, MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { +    Interface [ <internal:mongodb> interface MongoDB\BSON\Persistable extends MongoDB\BSON\Serializable, MongoDB\BSON\Type, MongoDB\BSON\Unserializable ] {        - Constants [0] {        } @@ -848,22 +1450,24 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [2] { -        Method [ <internal:mongodb, inherits MongoDB\BSON\Unserializable> abstract public method bsonUnserialize ] { +        Method [ <internal:mongodb> abstract public method bsonSerialize ] { -          - Parameters [1] { -            Parameter #0 [ <required> array $data ] +          - Parameters [0] {            } +          - Tentative return [ stdClass|MongoDB\BSON\Document|array ]          } -        Method [ <internal:mongodb, inherits MongoDB\BSON\Serializable> abstract public method bsonSerialize ] { +        Method [ <internal:mongodb, inherits MongoDB\BSON\Unserializable> abstract public method bsonUnserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> array $data ]            } +          - Tentative return [ void ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Regex implements MongoDB\BSON\RegexInterface, MongoDB\BSON\Type, Serializable, JsonSerializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Regex implements Stringable, MongoDB\BSON\RegexInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -872,66 +1476,88 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\Regex ]          }        }        - Properties [0] {        } -      - Methods [7] { +      - Methods [9] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [2] { -            Parameter #0 [ <required> $pattern ] -            Parameter #1 [ <required> $flags ] +            Parameter #0 [ <required> string $pattern ] +            Parameter #1 [ <optional> string $flags = '' ]            }          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method __toString ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getPattern ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getFlags ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getPattern ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getFlags ] { +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Symbol implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Symbol implements Stringable, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -939,47 +1565,73 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Static properties [0] {        } -      - Static methods [0] { +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\Symbol ] +        }        }        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method __toString ] { +      - Methods [7] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Timestamp implements MongoDB\BSON\TimestampInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Timestamp implements Stringable, MongoDB\BSON\TimestampInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -988,66 +1640,88 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\Timestamp ]          }        }        - Properties [0] {        } -      - Methods [7] { +      - Methods [9] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [2] { -            Parameter #0 [ <required> $increment ] -            Parameter #1 [ <required> $timestamp ] +            Parameter #0 [ <required> string|int $increment ] +            Parameter #1 [ <required> string|int $timestamp ]            }          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method __toString ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getTimestamp ] {            - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getIncrement ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getIncrement ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getTimestamp ] { +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\Undefined implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\Undefined implements Stringable, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -1055,47 +1729,73 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Static properties [0] {        } -      - Static methods [0] { +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\BSON\Undefined ] +        }        }        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method __toString ] { +      - Methods [7] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - Parameters [0] { +          } +          - Return [ mixed ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\BSON\UTCDateTime implements MongoDB\BSON\UTCDateTimeInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\BSON\UTCDateTime implements Stringable, MongoDB\BSON\UTCDateTimeInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] {        } @@ -1104,54 +1804,82 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\BSON\UTCDateTime ]          }        }        - Properties [0] {        } -      - Methods [6] { +      - Methods [9] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { -            Parameter #0 [ <optional> $milliseconds ] +            Parameter #0 [ <optional> DateTimeInterface|MongoDB\BSON\Int64|string|int|float|null $milliseconds = null ]            }          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method __toString ] { +        Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method toDateTime ] {            - Parameters [0] {            } +          - Return [ DateTime ]          } -        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { +        Method [ <internal:mongodb> final public method toDateTimeImmutable ] {            - Parameters [0] {            } +          - Return [ DateTimeImmutable ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method toDateTime ] { +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] {            - Parameters [0] {            } +          - Return [ mixed ]          }        }      } @@ -1175,18 +1903,21 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Tentative return [ MongoDB\Driver\CursorId|MongoDB\BSON\Int64 ]          }          Method [ <internal:mongodb> abstract public method getServer ] {            - Parameters [0] {            } +          - Tentative return [ MongoDB\Driver\Server ]          }          Method [ <internal:mongodb> abstract public method isDead ] {            - Parameters [0] {            } +          - Tentative return [ bool ]          }          Method [ <internal:mongodb> abstract public method setTypeMap ] { @@ -1194,12 +1925,14 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [1] {              Parameter #0 [ <required> array $typemap ]            } +          - Tentative return [ void ]          }          Method [ <internal:mongodb> abstract public method toArray ] {            - Parameters [0] {            } +          - Tentative return [ array ]          }        }      } @@ -1218,57 +1951,62 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [6] { +      - Methods [5] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { -            Parameter #0 [ <optional> array or NULL $options ] -          } -        } - -        Method [ <internal:mongodb> final public method insert ] { - -          - Parameters [1] { -            Parameter #0 [ <required> $document ] +            Parameter #0 [ <optional> ?array $options = null ]            }          } -        Method [ <internal:mongodb> final public method update ] { +        Method [ <internal:mongodb, prototype Countable> public method count ] { -          - Parameters [3] { -            Parameter #0 [ <required> $query ] -            Parameter #1 [ <required> $newObj ] -            Parameter #2 [ <optional> array or NULL $updateOptions ] +          - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb> final public method delete ] { +        Method [ <internal:mongodb> public method delete ] {            - Parameters [2] { -            Parameter #0 [ <required> $query ] -            Parameter #1 [ <optional> array or NULL $deleteOptions ] +            Parameter #0 [ <required> object|array $filter ] +            Parameter #1 [ <optional> ?array $deleteOptions = null ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, prototype Countable> final public method count ] { +        Method [ <internal:mongodb> final public method insert ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> object|array $document ]            } +          - Return [ mixed ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> public method update ] { -          - Parameters [0] { +          - Parameters [3] { +            Parameter #0 [ <required> object|array $filter ] +            Parameter #1 [ <required> object|array $newObj ] +            Parameter #2 [ <optional> ?array $updateOptions = null ]            } +          - Return [ void ]          }        }      }      Class [ <internal:mongodb> final class MongoDB\Driver\ClientEncryption ] { -      - Constants [2] { +      - Constants [9] {          Constant [ public string AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC ] { AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic }          Constant [ public string AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM ] { AEAD_AES_256_CBC_HMAC_SHA_512-Random } +        Constant [ public string ALGORITHM_INDEXED ] { Indexed } +        Constant [ public string ALGORITHM_UNINDEXED ] { Unindexed } +        Constant [ public string ALGORITHM_RANGE ] { Range } +        Constant [ public string ALGORITHM_RANGE_PREVIEW ] { RangePreview } +        Constant [ public string QUERY_TYPE_EQUALITY ] { equality } +        Constant [ public string QUERY_TYPE_RANGE ] { range } +        Constant [ public string QUERY_TYPE_RANGE_PREVIEW ] { rangePreview }        }        - Static properties [0] { @@ -1280,40 +2018,105 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [5] { +      - Methods [12] { +        Method [ <internal:mongodb, ctor> final public method __construct ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $options ] +          } +        } + +        Method [ <internal:mongodb> final public method addKeyAltName ] { + +          - Parameters [2] { +            Parameter #0 [ <required> MongoDB\BSON\Binary $keyId ] +            Parameter #1 [ <required> string $keyAltName ] +          } +          - Return [ ?object ] +        } +          Method [ <internal:mongodb> final public method createDataKey ] {            - Parameters [2] { -            Parameter #0 [ <required> $kmsProvider ] -            Parameter #1 [ <optional> array or NULL $options ] +            Parameter #0 [ <required> string $kmsProvider ] +            Parameter #1 [ <optional> ?array $options = null ] +          } +          - Return [ MongoDB\BSON\Binary ] +        } + +        Method [ <internal:mongodb> final public method decrypt ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\BSON\Binary $value ]            } +          - Return [ mixed ] +        } + +        Method [ <internal:mongodb> final public method deleteKey ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\BSON\Binary $keyId ] +          } +          - Return [ object ]          }          Method [ <internal:mongodb> final public method encrypt ] {            - Parameters [2] { -            Parameter #0 [ <required> $value ] -            Parameter #1 [ <optional> array or NULL $options ] +            Parameter #0 [ <required> mixed $value ] +            Parameter #1 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\BSON\Binary ]          } -        Method [ <internal:mongodb> final public method decrypt ] { +        Method [ <internal:mongodb> final public method encryptExpression ] { + +          - Parameters [2] { +            Parameter #0 [ <required> object|array $expr ] +            Parameter #1 [ <optional> ?array $options = null ] +          } +          - Return [ object ] +        } + +        Method [ <internal:mongodb> final public method getKey ] {            - Parameters [1] { -            Parameter #0 [ <required> MongoDB\BSON\BinaryInterface $keyVaultClient ] +            Parameter #0 [ <required> MongoDB\BSON\Binary $keyId ]            } +          - Return [ ?object ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method getKeyByAltName ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> string $keyAltName ]            } +          - Return [ ?object ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getKeys ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\Cursor ] +        } + +        Method [ <internal:mongodb> final public method removeKeyAltName ] { + +          - Parameters [2] { +            Parameter #0 [ <required> MongoDB\BSON\Binary $keyId ] +            Parameter #1 [ <required> string $keyAltName ] +          } +          - Return [ ?object ] +        } + +        Method [ <internal:mongodb> final public method rewrapManyDataKey ] { + +          - Parameters [2] { +            Parameter #0 [ <required> object|array $filter ] +            Parameter #1 [ <optional> ?array $options = null ] +          } +          - Return [ object ]          }        }      } @@ -1332,23 +2135,18 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [2] { +      - Methods [1] {          Method [ <internal:mongodb, ctor> final public method __construct ] { -          - Parameters [1] { -            Parameter #0 [ <required> $document ] -          } -        } - -        Method [ <internal:mongodb> final public method __wakeup ] { - -          - Parameters [0] { +          - Parameters [2] { +            Parameter #0 [ <required> object|array $document ] +            Parameter #1 [ <optional> ?array $commandOptions = null ]            }          }        }      } -    Class [ <internal:mongodb> <iterateable> final class MongoDB\Driver\Cursor implements MongoDB\Driver\CursorInterface, Traversable ] { +    Class [ <internal:mongodb> <iterateable> final class MongoDB\Driver\Cursor implements Iterator, Traversable, MongoDB\Driver\CursorInterface ] {        - Constants [0] {        } @@ -1362,53 +2160,88 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [7] { -        Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method setTypeMap ] { +      - Methods [11] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { -          - Parameters [1] { -            Parameter #0 [ <required> array $typemap ] +          - Parameters [0] {            }          } -        Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method toArray ] { +        Method [ <internal:mongodb, prototype Iterator> public method current ] {            - Parameters [0] {            } +          - Return [ object|array|null ]          }          Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method getId ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <optional> bool $asInt64 = false ]            } +          - Tentative return [ MongoDB\Driver\CursorId|MongoDB\BSON\Int64 ]          }          Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method getServer ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\Server ]          }          Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method isDead ] {            - Parameters [0] {            } +          - Return [ bool ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb, prototype Iterator> public method key ] { + +          - Parameters [0] { +          } +          - Return [ ?int ] +        } + +        Method [ <internal:mongodb, prototype Iterator> public method next ] { + +          - Parameters [0] { +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype Iterator> public method rewind ] {            - Parameters [0] {            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method setTypeMap ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $typemap ] +          } +          - Return [ void ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method toArray ] {            - Parameters [0] {            } +          - Return [ array ] +        } + +        Method [ <internal:mongodb, prototype Iterator> public method valid ] { + +          - Parameters [0] { +          } +          - Return [ bool ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\CursorId implements Serializable ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\CursorId implements Stringable, Serializable ] {        - Constants [0] {        } @@ -1416,42 +2249,61 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Static properties [0] {        } -      - Static methods [0] { +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\Driver\CursorId ] +        }        }        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method __toString ] { +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } +        Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } +          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method __unserialize ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <required> array $data ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method __serialize ] {            - Parameters [0] {            } +          - Return [ array ]          }        }      } @@ -1470,119 +2322,149 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [15] { +      - Methods [17] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $uri ] -            Parameter #1 [ <optional> array $options ] -            Parameter #2 [ <optional> array $driverOptions ] +            Parameter #0 [ <optional> ?string $uri = null ] +            Parameter #1 [ <optional> ?array $uriOptions = null ] +            Parameter #2 [ <optional> ?array $driverOptions = null ]            }          } +        Method [ <internal:mongodb> final public method addSubscriber ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ] +          } +          - Return [ void ] +        } +          Method [ <internal:mongodb> final public method createClientEncryption ] {            - Parameters [1] {              Parameter #0 [ <required> array $options ]            } +          - Return [ MongoDB\Driver\ClientEncryption ] +        } + +        Method [ <internal:mongodb> final public method executeBulkWrite ] { + +          - Parameters [3] { +            Parameter #0 [ <required> string $namespace ] +            Parameter #1 [ <required> MongoDB\Driver\BulkWrite $bulk ] +            Parameter #2 [ <optional> MongoDB\Driver\WriteConcern|array|null $options = null ] +          } +          - Return [ MongoDB\Driver\WriteResult ]          }          Method [ <internal:mongodb> final public method executeCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> $options ] +            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference|array|null $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeReadCommand ] { +        Method [ <internal:mongodb> final public method executeQuery ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] -            Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> array $options ] +            Parameter #0 [ <required> string $namespace ] +            Parameter #1 [ <required> MongoDB\Driver\Query $query ] +            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference|array|null $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeWriteCommand ] { +        Method [ <internal:mongodb> final public method executeReadCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> array $options ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          }          Method [ <internal:mongodb> final public method executeReadWriteCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> $options ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeQuery ] { +        Method [ <internal:mongodb> final public method executeWriteCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $namespace ] -            Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] -            Parameter #2 [ <optional> $options ] +            Parameter #0 [ <required> string $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeBulkWrite ] { +        Method [ <internal:mongodb> final public method getEncryptedFieldsMap ] { -          - Parameters [3] { -            Parameter #0 [ <required> $namespace ] -            Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] -            Parameter #2 [ <optional> $options ] +          - Parameters [0] {            } +          - Return [ object|array|null ]          }          Method [ <internal:mongodb> final public method getReadConcern ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\ReadConcern ]          }          Method [ <internal:mongodb> final public method getReadPreference ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\ReadPreference ]          }          Method [ <internal:mongodb> final public method getServers ] {            - Parameters [0] {            } +          - Return [ array ]          }          Method [ <internal:mongodb> final public method getWriteConcern ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\WriteConcern ]          } -        Method [ <internal:mongodb> final public method selectServer ] { +        Method [ <internal:mongodb> final public method removeSubscriber ] {            - Parameters [1] { -            Parameter #0 [ <required> MongoDB\Driver\ReadPreference or NULL $readPreference ] +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ]            } +          - Return [ void ]          } -        Method [ <internal:mongodb> final public method startSession ] { +        Method [ <internal:mongodb> final public method selectServer ] {            - Parameters [1] { -            Parameter #0 [ <optional> array or NULL $options ] +            Parameter #0 [ <optional> ?MongoDB\Driver\ReadPreference $readPreference = null ]            } +          - Return [ MongoDB\Driver\Server ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method startSession ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Session ]          }        }      } @@ -1601,18 +2483,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [2] { +      - Methods [1] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [2] { -            Parameter #0 [ <required> $filter ] -            Parameter #1 [ <optional> array or NULL $options ] -          } -        } - -        Method [ <internal:mongodb> final public method __wakeup ] { - -          - Parameters [0] { +            Parameter #0 [ <required> object|array $filter ] +            Parameter #1 [ <optional> ?array $queryOptions = null ]            }          }        } @@ -1620,33 +2496,35 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {      Class [ <internal:mongodb> final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { -      - Constants [4] { +      - Constants [5] { +        Constant [ public string LINEARIZABLE ] { linearizable }          Constant [ public string LOCAL ] { local }          Constant [ public string MAJORITY ] { majority } -        Constant [ public string LINEARIZABLE ] { linearizable }          Constant [ public string AVAILABLE ] { available } +        Constant [ public string SNAPSHOT ] { snapshot }        }        - Static properties [0] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\Driver\ReadConcern ]          }        }        - Properties [0] {        } -      - Methods [6] { +      - Methods [8] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { -            Parameter #0 [ <optional> $level ] +            Parameter #0 [ <optional> ?string $level = null ]            }          } @@ -1654,31 +2532,51 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ ?string ]          }          Method [ <internal:mongodb> final public method isDefault ] {            - Parameters [0] {            } +          - Return [ bool ]          }          Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] {            - Parameters [0] {            } +          - Return [ stdClass ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ]            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }        }      } @@ -1691,88 +2589,118 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {          Constant [ public int RP_SECONDARY ] { 2 }          Constant [ public int RP_SECONDARY_PREFERRED ] { 6 }          Constant [ public int RP_NEAREST ] { 10 } -        Constant [ public int NO_MAX_STALENESS ] { -1 } -        Constant [ public int SMALLEST_MAX_STALENESS_SECONDS ] { 90 }          Constant [ public string PRIMARY ] { primary }          Constant [ public string PRIMARY_PREFERRED ] { primaryPreferred }          Constant [ public string SECONDARY ] { secondary }          Constant [ public string SECONDARY_PREFERRED ] { secondaryPreferred }          Constant [ public string NEAREST ] { nearest } +        Constant [ public int NO_MAX_STALENESS ] { -1 } +        Constant [ public int SMALLEST_MAX_STALENESS_SECONDS ] { 90 }        }        - Static properties [0] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\Driver\ReadPreference ]          }        }        - Properties [0] {        } -      - Methods [8] { +      - Methods [11] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <required> $mode ] -            Parameter #1 [ <optional> array or NULL $tagSets ] -            Parameter #2 [ <optional> array or NULL $options ] +            Parameter #0 [ <required> string|int $mode ] +            Parameter #1 [ <optional> ?array $tagSets = null ] +            Parameter #2 [ <optional> ?array $options = null ] +          } +        } + +        Method [ <internal:mongodb> final public method getHedge ] { + +          - Parameters [0] {            } +          - Return [ ?object ]          }          Method [ <internal:mongodb> final public method getMaxStalenessSeconds ] {            - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb> final public method getMode ] { +        Method [ <internal, deprecated:mongodb> final public method getMode ] {            - Parameters [0] {            } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method getModeString ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getTagSets ] {            - Parameters [0] {            } +          - Return [ array ]          }          Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] {            - Parameters [0] {            } +          - Return [ stdClass ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ]            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }        }      }      Class [ <internal:mongodb> final class MongoDB\Driver\Server ] { -      - Constants [9] { +      - Constants [10] {          Constant [ public int TYPE_UNKNOWN ] { 0 }          Constant [ public int TYPE_STANDALONE ] { 1 }          Constant [ public int TYPE_MONGOS ] { 2 } @@ -1782,6 +2710,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {          Constant [ public int TYPE_RS_ARBITER ] { 6 }          Constant [ public int TYPE_RS_OTHER ] { 7 }          Constant [ public int TYPE_RS_GHOST ] { 8 } +        Constant [ public int TYPE_LOAD_BALANCER ] { 9 }        }        - Static properties [0] { @@ -1794,136 +2723,358 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [19] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method executeBulkWrite ] { + +          - Parameters [3] { +            Parameter #0 [ <required> string $namespace ] +            Parameter #1 [ <required> MongoDB\Driver\BulkWrite $bulkWrite ] +            Parameter #2 [ <optional> MongoDB\Driver\WriteConcern|array|null $options = null ] +          } +          - Return [ MongoDB\Driver\WriteResult ] +        } +          Method [ <internal:mongodb> final public method executeCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> $options ] +            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference|array|null $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeReadCommand ] { +        Method [ <internal:mongodb> final public method executeQuery ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] -            Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> array $options ] +            Parameter #0 [ <required> string $namespace ] +            Parameter #1 [ <required> MongoDB\Driver\Query $query ] +            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference|array|null $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeWriteCommand ] { +        Method [ <internal:mongodb> final public method executeReadCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> array $options ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          }          Method [ <internal:mongodb> final public method executeReadWriteCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $db ] +            Parameter #0 [ <required> string $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> array $options ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeQuery ] { +        Method [ <internal:mongodb> final public method executeWriteCommand ] {            - Parameters [3] { -            Parameter #0 [ <required> $namespace ] -            Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] -            Parameter #2 [ <optional> $options ] +            Parameter #0 [ <required> string $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> ?array $options = null ]            } +          - Return [ MongoDB\Driver\Cursor ]          } -        Method [ <internal:mongodb> final public method executeBulkWrite ] { +        Method [ <internal:mongodb> final public method getHost ] { -          - Parameters [3] { -            Parameter #0 [ <required> $namespace ] -            Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] -            Parameter #2 [ <optional> $options ] +          - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method getHost ] { +        Method [ <internal:mongodb> final public method getInfo ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb> final public method getTags ] { +        Method [ <internal:mongodb> final public method getLatency ] {            - Parameters [0] {            } +          - Return [ ?int ]          } -        Method [ <internal:mongodb> final public method getInfo ] { +        Method [ <internal:mongodb> final public method getPort ] {            - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb> final public method getLatency ] { +        Method [ <internal:mongodb> final public method getServerDescription ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\ServerDescription ]          } -        Method [ <internal:mongodb> final public method getPort ] { +        Method [ <internal:mongodb> final public method getTags ] {            - Parameters [0] {            } +          - Return [ array ]          }          Method [ <internal:mongodb> final public method getType ] {            - Parameters [0] {            } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method isArbiter ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb> final public method isHidden ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb> final public method isPassive ] { + +          - Parameters [0] { +          } +          - Return [ bool ]          }          Method [ <internal:mongodb> final public method isPrimary ] {            - Parameters [0] {            } +          - Return [ bool ]          }          Method [ <internal:mongodb> final public method isSecondary ] {            - Parameters [0] {            } +          - Return [ bool ]          } +      } +    } -        Method [ <internal:mongodb> final public method isArbiter ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\ServerApi implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { + +      - Constants [1] { +        Constant [ public string V1 ] { 1 } +      } + +      - Static properties [0] { +      } + +      - Static methods [1] { +        Method [ <internal:mongodb> final static public method __set_state ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $properties ] +          } +          - Return [ MongoDB\Driver\ServerApi ] +        } +      } + +      - Properties [0] { +      } + +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final public method __construct ] { + +          - Parameters [3] { +            Parameter #0 [ <required> string $version ] +            Parameter #1 [ <optional> ?bool $strict = null ] +            Parameter #2 [ <optional> ?bool $deprecationErrors = null ] +          } +        } + +        Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] {            - Parameters [0] {            } +          - Return [ stdClass ]          } -        Method [ <internal:mongodb> final public method isHidden ] { +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method isPassive ] { +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\ServerDescription ] { + +      - Constants [10] { +        Constant [ public string TYPE_UNKNOWN ] { Unknown } +        Constant [ public string TYPE_STANDALONE ] { Standalone } +        Constant [ public string TYPE_MONGOS ] { Mongos } +        Constant [ public string TYPE_POSSIBLE_PRIMARY ] { PossiblePrimary } +        Constant [ public string TYPE_RS_PRIMARY ] { RSPrimary } +        Constant [ public string TYPE_RS_SECONDARY ] { RSSecondary } +        Constant [ public string TYPE_RS_ARBITER ] { RSArbiter } +        Constant [ public string TYPE_RS_OTHER ] { RSOther } +        Constant [ public string TYPE_RS_GHOST ] { RSGhost } +        Constant [ public string TYPE_LOAD_BALANCER ] { LoadBalancer } +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [7] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getHelloResponse ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getLastUpdateTime ] {            - Parameters [0] {            } +          - Return [ int ]          } +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getRoundTripTime ] { + +          - Parameters [0] { +          } +          - Return [ ?int ] +        } + +        Method [ <internal:mongodb> final public method getType ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\TopologyDescription ] { + +      - Constants [6] { +        Constant [ public string TYPE_UNKNOWN ] { Unknown } +        Constant [ public string TYPE_SINGLE ] { Single } +        Constant [ public string TYPE_SHARDED ] { Sharded } +        Constant [ public string TYPE_REPLICA_SET_NO_PRIMARY ] { ReplicaSetNoPrimary } +        Constant [ public string TYPE_REPLICA_SET_WITH_PRIMARY ] { ReplicaSetWithPrimary } +        Constant [ public string TYPE_LOAD_BALANCED ] { LoadBalanced } +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [5] {          Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getServers ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:mongodb> final public method getType ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method hasReadableServer ] { + +          - Parameters [1] { +            Parameter #0 [ <optional> ?MongoDB\Driver\ReadPreference $readPreference = null ] +          } +          - Return [ bool ] +        } + +        Method [ <internal:mongodb> final public method hasWritableServer ] {            - Parameters [0] {            } +          - Return [ bool ]          }        }      } @@ -1948,97 +3099,111 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [15] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mongodb> final public method abortTransaction ] {            - Parameters [0] {            } +          - Return [ void ]          }          Method [ <internal:mongodb> final public method advanceClusterTime ] {            - Parameters [1] { -            Parameter #0 [ <required> $clusterTime ] +            Parameter #0 [ <required> object|array $clusterTime ]            } +          - Return [ void ]          }          Method [ <internal:mongodb> final public method advanceOperationTime ] {            - Parameters [1] { -            Parameter #0 [ <required> $timestamp ] +            Parameter #0 [ <required> MongoDB\BSON\TimestampInterface $operationTime ]            } +          - Return [ void ]          }          Method [ <internal:mongodb> final public method commitTransaction ] {            - Parameters [0] {            } +          - Return [ void ]          }          Method [ <internal:mongodb> final public method endSession ] {            - Parameters [0] {            } +          - Return [ void ]          }          Method [ <internal:mongodb> final public method getClusterTime ] {            - Parameters [0] {            } +          - Return [ ?object ]          }          Method [ <internal:mongodb> final public method getLogicalSessionId ] {            - Parameters [0] {            } +          - Return [ object ]          }          Method [ <internal:mongodb> final public method getOperationTime ] {            - Parameters [0] {            } +          - Return [ ?MongoDB\BSON\Timestamp ]          }          Method [ <internal:mongodb> final public method getServer ] {            - Parameters [0] {            } +          - Return [ ?MongoDB\Driver\Server ]          }          Method [ <internal:mongodb> final public method getTransactionOptions ] {            - Parameters [0] {            } +          - Return [ ?array ]          }          Method [ <internal:mongodb> final public method getTransactionState ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method isInTransaction ] { +        Method [ <internal:mongodb> final public method isDirty ] {            - Parameters [0] {            } +          - Return [ bool ]          } -        Method [ <internal:mongodb> final public method startTransaction ] { - -          - Parameters [1] { -            Parameter #0 [ <optional> array or NULL $options ] -          } -        } - -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method isInTransaction ] {            - Parameters [0] {            } +          - Return [ bool ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method startTransaction ] { -          - Parameters [0] { +          - Parameters [1] { +            Parameter #0 [ <optional> ?array $options = null ]            } +          - Return [ void ]          }        }      } @@ -2053,68 +3218,91 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Static methods [1] { -        Method [ <internal:mongodb> static public method __set_state ] { +        Method [ <internal:mongodb> final static public method __set_state ] {            - Parameters [1] {              Parameter #0 [ <required> array $properties ]            } +          - Return [ MongoDB\Driver\WriteConcern ]          }        }        - Properties [0] {        } -      - Methods [8] { +      - Methods [10] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <required> $w ] -            Parameter #1 [ <optional> $wtimeout ] -            Parameter #2 [ <optional> $journal ] +            Parameter #0 [ <required> string|int $w ] +            Parameter #1 [ <optional> ?int $wtimeout = null ] +            Parameter #2 [ <optional> ?bool $journal = null ]            }          } -        Method [ <internal:mongodb> final public method getW ] { +        Method [ <internal:mongodb> final public method getJournal ] {            - Parameters [0] {            } +          - Return [ ?bool ]          } -        Method [ <internal:mongodb> final public method getWtimeout ] { +        Method [ <internal:mongodb> final public method getW ] {            - Parameters [0] {            } +          - Return [ string|int|null ]          } -        Method [ <internal:mongodb> final public method getJournal ] { +        Method [ <internal:mongodb> final public method getWtimeout ] {            - Parameters [0] {            } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method isDefault ] {            - Parameters [0] {            } +          - Return [ bool ]          }          Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] {            - Parameters [0] {            } +          - Return [ stdClass ]          }          Method [ <internal:mongodb, prototype Serializable> final public method serialize ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] {            - Parameters [1] { -            Parameter #0 [ <required> $serialized ] +            Parameter #0 [ <required> string $data ]            } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } + +        Method [ <internal:mongodb> final public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }        }      } @@ -2133,35 +3321,32 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [5] { -        Method [ <internal:mongodb> final public method getCode ] { - -          - Parameters [0] { -          } -        } - -        Method [ <internal:mongodb> final public method getInfo ] { +      - Methods [4] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb> final public method getMessage ] { +        Method [ <internal:mongodb> final public method getCode ] {            - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { +        Method [ <internal:mongodb> final public method getInfo ] {            - Parameters [0] {            } +          - Return [ ?object ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getMessage ] {            - Parameters [0] {            } +          - Return [ string ]          }        }      } @@ -2180,41 +3365,39 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [6] { -        Method [ <internal:mongodb> final public method getCode ] { +      - Methods [5] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb> final public method getIndex ] { +        Method [ <internal:mongodb> final public method getCode ] {            - Parameters [0] {            } +          - Return [ int ]          } -        Method [ <internal:mongodb> final public method getMessage ] { +        Method [ <internal:mongodb> final public method getIndex ] {            - Parameters [0] {            } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method getInfo ] {            - Parameters [0] {            } +          - Return [ ?object ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { - -          - Parameters [0] { -          } -        } - -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getMessage ] {            - Parameters [0] {            } +          - Return [ string ]          }        }      } @@ -2234,81 +3417,92 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Methods [12] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mongodb> final public method getInsertedCount ] {            - Parameters [0] {            } +          - Return [ ?int ]          }          Method [ <internal:mongodb> final public method getMatchedCount ] {            - Parameters [0] {            } +          - Return [ ?int ]          }          Method [ <internal:mongodb> final public method getModifiedCount ] {            - Parameters [0] {            } +          - Return [ ?int ]          }          Method [ <internal:mongodb> final public method getDeletedCount ] {            - Parameters [0] {            } +          - Return [ ?int ]          }          Method [ <internal:mongodb> final public method getUpsertedCount ] {            - Parameters [0] {            } +          - Return [ ?int ]          }          Method [ <internal:mongodb> final public method getServer ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\Server ]          }          Method [ <internal:mongodb> final public method getUpsertedIds ] {            - Parameters [0] {            } +          - Return [ array ]          }          Method [ <internal:mongodb> final public method getWriteConcernError ] {            - Parameters [0] {            } +          - Return [ ?MongoDB\Driver\WriteConcernError ]          }          Method [ <internal:mongodb> final public method getWriteErrors ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb> final public method isAcknowledged ] { +        Method [ <internal:mongodb> final public method getErrorReplies ] {            - Parameters [0] {            } +          - Return [ array ]          } -        Method [ <internal:mongodb, ctor> final private method __construct ] { - -          - Parameters [0] { -          } -        } - -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method isAcknowledged ] {            - Parameters [0] {            } +          - Return [ bool ]          }        }      } -    Interface [ <internal:mongodb> interface MongoDB\Driver\Exception\Exception extends Throwable ] { +    Interface [ <internal:mongodb> interface MongoDB\Driver\Exception\Exception extends Throwable, Stringable ] {        - Constants [0] {        } @@ -2324,32 +3518,63 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Methods [8] {          Method [ <internal:Core, inherits Throwable> abstract public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Throwable> abstract public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Throwable> abstract public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Throwable> abstract public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Throwable> abstract public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Throwable> abstract public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Throwable> abstract public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Throwable> abstract public method __toString ] { +        Method [ <internal:Core, inherits Stringable> abstract public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\RuntimeException extends RuntimeException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\RuntimeException extends RuntimeException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2361,60 +3586,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\ServerException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\ServerException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable, Stringable ] {        - Constants [0] {        } @@ -2426,60 +3687,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\ConnectionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\ConnectionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable, Stringable ] {        - Constants [0] {        } @@ -2491,60 +3788,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> abstract class MongoDB\Driver\Exception\WriteException extends MongoDB\Driver\Exception\ServerException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> abstract class MongoDB\Driver\Exception\WriteException extends MongoDB\Driver\Exception\ServerException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2556,12 +3889,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [6] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] -        Property [ <default> protected $writeResult ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ] +        Property [ protected $writeResult = NULL ]        }        - Methods [12] { @@ -2569,54 +3902,91 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\WriteResult ]          }          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\AuthenticationException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\AuthenticationException extends MongoDB\Driver\Exception\ConnectionException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2628,60 +3998,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\BulkWriteException extends MongoDB\Driver\Exception\WriteException implements MongoDB\Driver\Exception\Exception, Throwable ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\BulkWriteException extends MongoDB\Driver\Exception\WriteException implements MongoDB\Driver\Exception\Exception, Throwable, Stringable ] {        - Constants [0] {        } @@ -2693,12 +4099,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [6] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] -        Property [ <default> protected $writeResult ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ] +        Property [ protected $writeResult = NULL ]        }        - Methods [12] { @@ -2706,54 +4112,91 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\WriteResult ]          }          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\CommandException extends MongoDB\Driver\Exception\ServerException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\CommandException extends MongoDB\Driver\Exception\ServerException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2765,12 +4208,12 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [6] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] -        Property [ <default> protected $resultDocument ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ] +        Property [ protected $resultDocument = NULL ]        }        - Methods [12] { @@ -2778,54 +4221,91 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ object ]          }          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\ConnectionTimeoutException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\ConnectionTimeoutException extends MongoDB\Driver\Exception\ConnectionException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2837,60 +4317,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\EncryptionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\EncryptionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable, Stringable ] {        - Constants [0] {        } @@ -2902,60 +4418,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\ServerException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\ServerException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -2967,60 +4519,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, Stringable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -3032,52 +4620,87 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [4] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ]        }        - Methods [10] {          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\LogicException extends LogicException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\LogicException extends LogicException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -3089,52 +4712,87 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [4] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ]        }        - Methods [10] {          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\SSLConnectionException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\Exception\SSLConnectionException extends MongoDB\Driver\Exception\ConnectionException implements Stringable, Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -3146,60 +4804,96 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [5] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] -        Property [ <default> protected $errorLabels ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ] +        Property [ protected $errorLabels = NULL ]        }        - Methods [11] {          Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] {            - Parameters [1] { -            Parameter #0 [ <required> $label ] +            Parameter #0 [ <required> string $errorLabel ]            } +          - Return [ bool ]          }          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } -    Class [ <internal:mongodb> class MongoDB\Driver\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, MongoDB\Driver\Exception\Exception ] { +    Class [ <internal:mongodb> class MongoDB\Driver\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, Stringable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] {        } @@ -3211,47 +4905,82 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        }        - Properties [4] { -        Property [ <default> protected $message ] -        Property [ <default> protected $code ] -        Property [ <default> protected $file ] -        Property [ <default> protected $line ] +        Property [ protected $message = '' ] +        Property [ protected $code = 0 ] +        Property [ protected string $file = '' ] +        Property [ protected int $line = 0 ]        }        - Methods [10] {          Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {            - Parameters [3] { -            Parameter #0 [ <optional> $message ] -            Parameter #1 [ <optional> $code ] -            Parameter #2 [ <optional> $previous ] +            Parameter #0 [ <optional> string $message = "" ] +            Parameter #1 [ <optional> int $code = 0 ] +            Parameter #2 [ <optional> ?Throwable $previous = null ]            }          }          Method [ <internal:Core, inherits Exception> public method __wakeup ] { + +          - Parameters [0] { +          } +          - Tentative return [ void ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + +          - Parameters [0] { +          }          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + +          - Parameters [0] { +          } +          - Return [ array ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + +          - Parameters [0] { +          } +          - Return [ ?Throwable ]          }          Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          } -        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }        }      } @@ -3294,6 +5023,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [1] {              Parameter #0 [ <required> MongoDB\Driver\Monitoring\CommandStartedEvent $event ]            } +          - Tentative return [ void ]          }          Method [ <internal:mongodb> abstract public method commandSucceeded ] { @@ -3301,6 +5031,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [1] {              Parameter #0 [ <required> MongoDB\Driver\Monitoring\CommandSucceededEvent $event ]            } +          - Tentative return [ void ]          }          Method [ <internal:mongodb> abstract public method commandFailed ] { @@ -3308,6 +5039,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [1] {              Parameter #0 [ <required> MongoDB\Driver\Monitoring\CommandFailedEvent $event ]            } +          - Tentative return [ void ]          }        }      } @@ -3326,7 +5058,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [9] { +      - Methods [13] {          Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] { @@ -3337,48 +5069,84 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method getError ] { +        Method [ <internal:mongodb> final public method getDatabaseName ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getDurationMicros ] {            - Parameters [0] {            } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getError ] { + +          - Parameters [0] { +          } +          - Return [ Exception ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getOperationId ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method getReply ] {            - Parameters [0] {            } +          - Return [ object ]          }          Method [ <internal:mongodb> final public method getRequestId ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method getServer ] { +        Method [ <internal, deprecated:mongodb> final public method getServer ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\Server ] +        } + +        Method [ <internal:mongodb> final public method getServiceId ] {            - Parameters [0] {            } +          - Return [ ?MongoDB\BSON\ObjectId ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getServerConnectionId ] {            - Parameters [0] {            } +          - Return [ ?int ]          }        }      } @@ -3397,7 +5165,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [8] { +      - Methods [11] {          Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] { @@ -3408,42 +5176,70 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ object ]          }          Method [ <internal:mongodb> final public method getCommandName ] {            - Parameters [0] {            } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getDatabaseName ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getOperationId ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method getRequestId ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method getServer ] { +        Method [ <internal, deprecated:mongodb> final public method getServer ] {            - Parameters [0] {            } +          - Return [ MongoDB\Driver\Server ]          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getServiceId ] {            - Parameters [0] {            } +          - Return [ ?MongoDB\BSON\ObjectId ] +        } + +        Method [ <internal:mongodb> final public method getServerConnectionId ] { + +          - Parameters [0] { +          } +          - Return [ ?int ]          }        }      } @@ -3462,7 +5258,7 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {        - Properties [0] {        } -      - Methods [8] { +      - Methods [12] {          Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] { @@ -3473,42 +5269,609 @@ Extension [ <persistent> extension #70 mongodb version 1.7.5 ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getDatabaseName ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getDurationMicros ] {            - Parameters [0] {            } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ]          }          Method [ <internal:mongodb> final public method getOperationId ] {            - Parameters [0] {            } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ]          }          Method [ <internal:mongodb> final public method getReply ] {            - Parameters [0] {            } +          - Return [ object ]          }          Method [ <internal:mongodb> final public method getRequestId ] {            - Parameters [0] {            } +          - Return [ string ]          } -        Method [ <internal:mongodb> final public method getServer ] { +        Method [ <internal, deprecated:mongodb> final public method getServer ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\Server ] +        } + +        Method [ <internal:mongodb> final public method getServiceId ] { + +          - Parameters [0] { +          } +          - Return [ ?MongoDB\BSON\ObjectId ] +        } + +        Method [ <internal:mongodb> final public method getServerConnectionId ] { + +          - Parameters [0] { +          } +          - Return [ ?int ] +        } +      } +    } + +    Interface [ <internal:mongodb> interface MongoDB\Driver\Monitoring\LogSubscriber extends MongoDB\Driver\Monitoring\Subscriber ] { + +      - Constants [6] { +        Constant [ public int LEVEL_ERROR ] { 0 } +        Constant [ public int LEVEL_CRITICAL ] { 1 } +        Constant [ public int LEVEL_WARNING ] { 2 } +        Constant [ public int LEVEL_MESSAGE ] { 3 } +        Constant [ public int LEVEL_INFO ] { 4 } +        Constant [ public int LEVEL_DEBUG ] { 5 } +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [1] { +        Method [ <internal:mongodb> abstract public method log ] { + +          - Parameters [3] { +            Parameter #0 [ <required> int $level ] +            Parameter #1 [ <required> string $domain ] +            Parameter #2 [ <required> string $message ] +          } +          - Return [ void ] +        } +      } +    } + +    Interface [ <internal:mongodb> interface MongoDB\Driver\Monitoring\SDAMSubscriber extends MongoDB\Driver\Monitoring\Subscriber ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [9] { +        Method [ <internal:mongodb> abstract public method serverChanged ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerChangedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method serverClosed ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerClosedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method serverOpening ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerOpeningEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method serverHeartbeatFailed ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method serverHeartbeatStarted ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method serverHeartbeatSucceeded ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method topologyChanged ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\TopologyChangedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method topologyClosed ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\TopologyClosedEvent $event ] +          } +          - Tentative return [ void ] +        } + +        Method [ <internal:mongodb> abstract public method topologyOpening ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\Driver\Monitoring\TopologyOpeningEvent $event ] +          } +          - Tentative return [ void ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerChangedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getNewDescription ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\ServerDescription ] +        } + +        Method [ <internal:mongodb> final public method getPreviousDescription ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\ServerDescription ] +        } + +        Method [ <internal:mongodb> final public method getTopologyId ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\ObjectId ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerClosedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [4] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getTopologyId ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\ObjectId ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getDurationMicros ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getError ] { + +          - Parameters [0] { +          } +          - Return [ Exception ] +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method isAwaited ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [4] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method isAwaited ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [6] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getDurationMicros ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getReply ] { + +          - Parameters [0] { +          } +          - Return [ object ] +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method isAwaited ] { + +          - Parameters [0] { +          } +          - Return [ bool ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\ServerOpeningEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [4] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getPort ] { + +          - Parameters [0] { +          } +          - Return [ int ] +        } + +        Method [ <internal:mongodb> final public method getHost ] { + +          - Parameters [0] { +          } +          - Return [ string ] +        } + +        Method [ <internal:mongodb> final public method getTopologyId ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\ObjectId ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\TopologyChangedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [4] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getNewDescription ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\TopologyDescription ] +        } + +        Method [ <internal:mongodb> final public method getPreviousDescription ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\Driver\TopologyDescription ] +        } + +        Method [ <internal:mongodb> final public method getTopologyId ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\ObjectId ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\TopologyClosedEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [2] { +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getTopologyId ] { + +          - Parameters [0] { +          } +          - Return [ MongoDB\BSON\ObjectId ] +        } +      } +    } + +    Class [ <internal:mongodb> final class MongoDB\Driver\Monitoring\TopologyOpeningEvent ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [2] { +        Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] {            }          } -        Method [ <internal:mongodb> final public method __wakeup ] { +        Method [ <internal:mongodb> final public method getTopologyId ] {            - Parameters [0] {            } +          - Return [ MongoDB\BSON\ObjectId ]          }        }      } diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec index 3a60caa..894d8a2 100644 --- a/php-pecl-mongodb2.spec +++ b/php-pecl-mongodb2.spec @@ -1,97 +1,109 @@  # remirepo spec file for php-pecl-mongodb  # -# Copyright (c) 2015-2025 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText:  Copyright 2015-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt  #  # Please, preserve the changelog entries  # -# we don't want -z defs linker flag -%undefine _strict_symbol_defs_build -  %if 0%{?scl:1} -%global sub_prefix %{scl_prefix}  %scl_package       php-pecl-mongodb  %else  %global _root_prefix %{_prefix}  %endif  %global with_zts   0%{!?_without_zts:%{?__ztsphp:1}} +%global pie_vend   mongodb +%global pie_proj   mongodb-extension  %global pecl_name  mongodb -%if "%{php_version}" < "5.6" -%global ini_name   z-%{pecl_name}.ini -%else  # After 40-smbclient.ini, see https://jira.mongodb.org/browse/PHPC-658  %global ini_name   50-%{pecl_name}.ini -%endif  # test suite requires a MongoDB server -%global with_tests   0%{?_with_tests:1} - -# always use bundled libraries -%if 0 -%global with_syslib 1 -%global libmongo    1.16.1 -%global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongoc}) -%global libcrypt    1.0.1 -%global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt}) +%bcond_with tests + +# temp for EL until available in EPEL +%if 0%{?fedora} >= 37 || 0%{?rhel} >= 8 +%bcond_without      syslib  %else -%global with_syslib 0 -%global libmongo    1.16.2 -%global libcrypt    1.0.3 +%bcond_with         syslib +%endif + +# Bundled versions +%global bundled_libmongo  1.30.1 +%global bundled_libcrypt  1.12.0 +# Required versions (in config.m4) +%global minimal_libmongo  1.30.1 +%global minimal_libcrypt  1.12.0 + +%if %{with syslib} +# Build dependencies (in repository) +%global system_libmongo   1.30 +%global system_libcrypt   1.12 +# Runtime dependencies +%global runtime_libmongo  %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{system_libmongo}) +%global runtime_libcrypt  %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt})  %endif  Summary:        MongoDB driver for PHP -Name:           %{?sub_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.7.5 -#global upstream_prever  RC1 -#global upstream_lower   ~rc1 +Name:           %{?scl_prefix}php-pecl-%{pecl_name} +%global upstream_version 1.21.0 +#global upstream_prever  beta1 +#global upstream_lower   ~beta1 +%global sources          %{pecl_name}-%{upstream_version}%{?upstream_prever} +%global _configure       ../%{sources}/configure  Version:        %{upstream_version}%{?upstream_lower} -Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -License:        ASL 2.0 +Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +%if %{with syslib} +License:        Apache-2.0 +%else +License:        Apache-2.0 AND ISC AND MIT AND Zlib AND BSD-3-Clause +%endif  URL:            https://pecl.php.net/package/%{pecl_name}  Source0:        https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +BuildRequires:  make  BuildRequires:  %{?dtsprefix}gcc -BuildRequires:  %{?scl_prefix}php-devel > 5.6 +BuildRequires:  %{?scl_prefix}php-devel >= 8.1  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  %{?scl_prefix}php-json -%if %{with_syslib} -BuildRequires:  pkgconfig(libbson-1.0)      >= %{libmongo} -BuildRequires:  pkgconfig(libmongoc-1.0)    >= %{libmongo} -BuildRequires:  pkgconfig(libmongocrypt)    >= %{libcrypt} -Requires:       libbson%{?_isa}             >= %{libmongover} -Requires:       mongo-c-driver-libs%{?_isa} >= %{libmongover} -Requires:       libmongocrypt%{?_isa}       >= %{libcryptver} +%if %{with syslib} +BuildRequires:  pkgconfig(libbson-1.0)      >= %{system_libmongo} +BuildRequires:  pkgconfig(libmongoc-1.0)    >= %{system_libmongo} +BuildRequires:  pkgconfig(libmongocrypt)    >= %{system_libcrypt} +Requires:       libbson%{?_isa}             >= %{runtime_libmongo} +Requires:       mongo-c-driver-libs%{?_isa} >= %{runtime_libmongo} +Requires:       libmongocrypt%{?_isa}       >= %{runtime_libcrypt}  %else -BuildRequires:  cyrus-sasl-devel  BuildRequires:  openssl-devel -BuildRequires:  snappy-devel -BuildRequires:  zlib-devel -# We require 50 to ensure use of libicu-last (same version than PHP) -BuildRequires: libicu-devel >= 50 -Provides:       bundled(libbson)           = %{libmongo} -Provides:       bundled(mongo-c-driver)    = %{libmongo} -Provides:       bundled(libmongocrypt)     = %{libcrypt} +BuildRequires:  pkgconfig(libsasl2) +BuildRequires:  pkgconfig(libzstd) +BuildRequires:  pkgconfig(zlib) +BuildRequires:  pkgconfig(snappy) +%if 0%{?rhel} == 8 +# EL-8 will use bundled as only in subversion module +Provides:       bundled(libutf8proc)= 2.8.0 +%else +BuildRequires:  pkgconfig(libutf8proc)  %endif -%if %{with_tests} +Provides:       bundled(libbson)           = %{bundled_libmongo} +Provides:       bundled(mongo-c-driver)    = %{bundled_libmongo} +Provides:       bundled(libmongocrypt)     = %{bundled_libcrypt} +%endif +%if %{with tests}  BuildRequires:  mongodb-server  %endif  Requires:       %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:       %{?scl_prefix}php(api) = %{php_core_api}  Requires:       %{?scl_prefix}php-json%{?_isa} -%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}  # Don't provide php-mongodb which is the pure PHP library -Provides:       %{?scl_prefix}php-pecl(%{pecl_name})         = %{version} -Provides:       %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides:       %{?scl_prefix}php-pecl-%{pecl_name}          = %{version}-%{release} -Provides:       %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa}  = %{version}-%{release} -%endif - +Provides:       %{?scl_prefix}php-pecl(%{pecl_name})           = %{version} +Provides:       %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa}   = %{version} +Provides:       %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides:       %{?scl_prefix}php-%{pie_vend}-%{pie_proj}      = %{version}  %description  The purpose of this driver is to provide exceptionally thin glue between @@ -103,25 +115,39 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO  %prep  %setup -q -c -mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS -  # Don't install/register tests  sed -e 's/role="test"/role="src"/' \ -    %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ +    -e '/LICENSE/s/role="doc"/role="src"/' \      -i package.xml -cd NTS +pushd %{sources} + +%if %{with syslib} +# Check our macro values +cat src/*_VERSION_CURRENT +grep -q %{bundled_libmongo} src/LIBMONGOC_VERSION_CURRENT +grep -q %{bundled_libcrypt} src/LIBMONGOCRYPT_VERSION_CURRENT + +grep CHECK_MODULES config.m4 +grep -q %{minimal_libmongo} config.m4 +grep -q %{minimal_libcrypt} config.m4 + +# temporary: lower minimal required versions +sed -e 's/%{minimal_libmongo}/%{system_libmongo}/;s/%{minimal_libcrypt}/%{system_libcrypt}/' -i config.m4 +%endif +  # Sanity check, really often broken  extver=$(sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' phongo_version.h)  if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then     : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.     exit 1  fi -cd .. +popd + +mkdir NTS  %if %{with_zts} -# Duplicate source tree for NTS / ZTS build -cp -pr NTS ZTS +mkdir ZTS  %endif  # Create configuration file @@ -138,46 +164,52 @@ EOF  %{?dtsenable}  peclbuild() { -  %{_bindir}/${1}ize - -%if %{with_syslib} -  # Ensure we use system library -  # Need to be removed only after phpize because of m4_include -  rm -r src/libmongoc* -    %configure \ -    --with-php-config=%{_bindir}/${1}-config \ +%if %{with syslib}      --with-mongodb-system-libs \ -    --with-mongodb-client-side-encryption \ -    --enable-mongodb  %else - -  %configure \ -    --with-php-config=%{_bindir}/${1}-config \      --enable-mongodb-crypto-system-profile \ -    --with-mongodb-client-side-encryption \ +    --with-mongodb-snappy \ +    --with-mongodb-zlib \ +    --with-mongodb-zstd \      --with-mongodb-sasl=cyrus \ -    --with-mongodb-icu=yes \      --with-mongodb-ssl=openssl \ -    --enable-mongodb +%if 0%{?rhel} == 8 +    --with-mongodb-utf8proc=bundled \ +%else +    --with-mongodb-utf8proc=system \ +%endif  %endif +    --with-php-config=${1} \ +    --with-mongodb-client-side-encryption \ +    --enable-mongodb -  make %{?_smp_mflags} +  %make_build  } -cd NTS -peclbuild php +cd %{sources} +%{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global + +%if %{with syslib} +  # Ensure we use system library +  # Need to be removed only after phpize because of m4_include +  rm -r src/libmongoc* +%endif + +cd ../NTS +peclbuild %{__phpconfig}  %if %{with_zts}  cd ../ZTS -peclbuild zts-php +peclbuild %{__ztsphpconfig}  %endif  %install  %{?dtsenable} -make -C NTS install INSTALL_ROOT=%{buildroot} +%make_install -C NTS  # install config file  install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -186,14 +218,14 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}  install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml  %if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} +%make_install -C ZTS  install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}  %endif  # Documentation  for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i +do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done @@ -213,7 +245,7 @@ OPT="-n"      --modules | grep %{pecl_name}  %endif -%if %{with_tests} +%if %{with tests}  ret=0  %global mongo_version  %(mongod --version | sed -n '/db version/{s/.*v//;p}' 2>/dev/null) @@ -239,21 +271,17 @@ if [ -s server.pid ] ; then    : Run the test suite    echo '{"STANDALONE": "mongodb://127.0.0.1:27017"}' | tee /tmp/PHONGO-SERVERS.json -  pushd NTS -    TEST_PHP_EXECUTABLE=%{__php} \ +  pushd %{sources}      TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -    NO_INTERACTION=1 \      REPORT_EXIT_STATUS=1 \ -    php -n run-tests.php --show-diff || ret=1 +    %{__php} -n run-tests.php -q -P --show-diff || ret=1    popd  %if %{with_zts}    pushd ZTS -    TEST_PHP_EXECUTABLE=%{__ztsphp} \      TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ -    NO_INTERACTION=1 \      REPORT_EXIT_STATUS=1 \ -    php -n run-tests.php --show-diff || ret=1 +    %{__ztsphp} -n run-tests.php -q -P --show-diff || ret=1    popd  %endif @@ -268,7 +296,7 @@ exit $ret  %files -%{?_licensedir:%license NTS/LICENSE} +%license %{sources}/LICENSE  %doc %{pecl_docdir}/%{pecl_name}  %{pecl_xmldir}/%{name}.xml @@ -282,11 +310,214 @@ exit $ret  %changelog -* Tue Apr  8 2025 Remi Collet <remi@remirepo.net> - 1.7.5-2 -- rebuild using bundled libraries +* Fri Feb 28 2025 Remi Collet <remi@remirepo.net> - 1.21.0-1 +- update to 1.21.0 +- raise dependency on PHP 8.1 +- raise dependency on libbson and libmongc 1.30 +- raise dependency on libmongocrypt 1.12 + +* Wed Nov 27 2024 Remi Collet <remi@remirepo.net> - 1.20.1-1 +- update to 1.20.1 + +* Mon Sep 30 2024 Remi Collet <remi@remirepo.net> - 1.20.0-2 +- EL: rebuild with system libraries + +* Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 1.20.0-1 +- update to 1.20.0 + +* Mon Sep  9 2024 Remi Collet <remi@remirepo.net> - 1.19.4-1 +- update to 1.19.4 + +* Tue Jul  2 2024 Remi Collet <remi@remirepo.net> - 1.19.3-1 +- update to 1.19.3 + +* Thu Jun  6 2024 Remi Collet <remi@remirepo.net> - 1.19.2-1 +- update to 1.19.2 (no change) +- EL-7 use bundled libbson and libmongc 1.27.2 + +* Wed May 29 2024 Remi Collet <remi@remirepo.net> - 1.19.1-1 +- update to 1.19.1 + +* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 1.19.0-1 +- update to 1.19.0 +- raise dependency on libbson and libmongc 1.27.0 +- raise dependency on libmongocrypt 1.10.0 + +* Fri Apr 12 2024 Remi Collet <remi@remirepo.net> - 1.18.1-1 +- update to 1.18.1 (no change) +- EL use bundled libbson and libmongc 1.26.2 + +* Thu Mar 28 2024 Remi Collet <remi@remirepo.net> - 1.18.0-1 +- update to 1.18.0 +- EL use bundled libbson and libmongc 1.26.1 +- EL use bundled libmongocrypt 1.9.1 + +* Tue Mar 19 2024 Remi Collet <remi@remirepo.net> - 1.17.3-1 +- update to 1.17.3 (no change) +- EL use bundled libbson and libmongc 1.25.4 +- EL use bundled libmongocrypt 1.8.4 + +* Thu Dec 21 2023 Remi Collet <remi@remirepo.net> - 1.17.2-1 +- update to 1.17.2 + +* Wed Dec  6 2023 Remi Collet <remi@remirepo.net> - 1.17.1-1 +- update to 1.17.1 +- EL use bundled libbson and libmongc 1.25.2 + +* Wed Nov 15 2023 Remi Collet <remi@remirepo.net> - 1.17.0-1 +- update to 1.17.0 +- raise dependency on PHP 7.4 +- EL use bundled libbson and libmongc 1.25.1 +- EL use bundled libmongocrypt 1.8.2 +- open https://github.com/mongodb/mongo-php-driver/pull/1490 drop ICU information + +* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 1.16.2-2 +- rebuild for PHP 8.3.0RC1 + +* Thu Aug 17 2023 Remi Collet <remi@remirepo.net> - 1.16.2-1 +- update to 1.16.2 + +* Thu Jul 13 2023 Remi Collet <remi@remirepo.net> - 1.16.1-2 +- EL-8/9 rebuild with libraries in EPEL stable + +* Fri Jun 23 2023 Remi Collet <remi@remirepo.net> - 1.16.1-1 +- update to 1.16.1 (no change) + +* Thu Jun 22 2023 Remi Collet <remi@remirepo.net> - 1.16.0-1 +- update to 1.16.0 +- EL use bundled libbson and libmongc 1.24.1 +- EL use bundled libmongocrypt 1.8.1 + +* Sat May 13 2023 Remi Collet <remi@remirepo.net> - 1.15.3-1 +- update to 1.15.3 +- EL-7 use bundled libbson and libmongc 1.23.4 + +* Tue Apr 25 2023 Remi Collet <remi@remirepo.net> - 1.15.2-2 +- build out of sources tree + +* Sat Apr 22 2023 Remi Collet <remi@remirepo.net> - 1.15.2-1 +- update to 1.15.2 (no change) +- EL-7 use bundled libbson and libmongc 1.23.3 + +* Thu Feb  9 2023 Remi Collet <remi@remirepo.net> - 1.15.1-1 +- update to 1.15.1 +- EL-7 use bundled libbson and libmongc 1.23.2 +- cleanup spec macros +- use SPDX license ID + +* Wed Nov 23 2022 Remi Collet <remi@remirepo.net> - 1.15.0-1 +- update to 1.15.0 +- EL-7 use bundled libbson and libmongc 1.23.1 + +* Fri Oct 21 2022 Remi Collet <remi@remirepo.net> - 1.14.2-1 +- update to 1.14.2 +- EL-7 use bundled libmongocrypt 1.5.2 + +* Mon Sep 12 2022 Remi Collet <remi@remirepo.net> - 1.14.1-2 +- EL-9 rebuild with libraries in EPEL stable + +* Sat Sep 10 2022 Remi Collet <remi@remirepo.net> - 1.14.1-1 +- update to 1.14.1 + +* Wed Jul 27 2022 Remi Collet <remi@remirepo.net> - 1.14.0-2 +- build with system libraries + +* Mon Jul 18 2022 Remi Collet <remi@remirepo.net> - 1.14.0-1 +- update to 1.14.0 +- use bundled libmongocrypt 1.5.0 +- use bundled libbson and libmongc 1.22.0 + +* Wed Jun  8 2022 Remi Collet <remi@remirepo.net> - 1.14.0~beta1-1 +- update to 1.14.0beta1 +- use bundled libmongocrypt 1.5.0-rc1 +- use bundled libbson and libmongc 1.22.0-beta0 + +* Thu Mar 24 2022 Remi Collet <remi@remirepo.net> - 1.13.0-1 +- update to 1.13.0 +- with libbson and libmongoc 1.21.1 and libmongocrypt 1.3.2 + +* Wed Feb 23 2022 Remi Collet <remi@remirepo.net> - 1.12.1-1 +- update to 1.12.1 (no change) +- with libbson and libmongoc 1.20.1 + +* Wed Dec 15 2021 Remi Collet <remi@remirepo.net> - 1.12.0-1 +- update to 1.12.0 +- with libbson and libmongoc 1.20.0 +- with libmongocrypt 1.3.0 +- raise dependency on PHP 7.2 + +* Wed Nov  3 2021 Remi Collet <remi@remirepo.net> - 1.11.1-1 +- update to 1.11.1 (no change) + +* Sat Oct 30 2021 Remi Collet <remi@remirepo.net> - 1.11.0-1 +- update to 1.11.0 +- with libbson and libmongoc 1.19.1 + +* Wed Sep 29 2021 Remi Collet <remi@remirepo.net> - 1.11.0~alpha1-2 +- rebuild using ICU 69 + +* Tue Sep 14 2021 Remi Collet <remi@remirepo.net> - 1.11.0~alpha1-1 +- update to 1.11.0alpha1 +- with libbson and libmongoc 1.19.0 +- drop patch merged upstream + +* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.10.0-4 +- rebuild for 8.1.0RC1 + +* Thu Aug  5 2021 Remi Collet <remi@remirepo.net> - 1.10.0-3 +- rebuild with system library on EL-8 + +* Fri Jul 23 2021 Remi Collet <remi@remirepo.net> - 1.10.0-2 +- add patch for PHP 8.1.0beta1 from +  https://github.com/mongodb/mongo-php-driver/pull/1240 + +* Wed Jul 14 2021 Remi Collet <remi@remirepo.net> - 1.10.0-1 +- update to 1.10.0 +- with libbson and libmongoc 1.18.0 +- with libmongocrypt 1.2.1 +- raise dependency on PHP 7.1 + +* Fri Apr  9 2021 Remi Collet <remi@remirepo.net> - 1.10.0~alpha1-1 +- update to 1.10.0alpha1 +- with libbson and libmongoc 1.18.0alpha +- with libmongocrypt 1.2.1dev + +* Wed Apr  7 2021 Remi Collet <remi@remirepo.net> - 1.9.1-1 +- update to 1.9.1 +- with libbson and libmongoc 1.17.4 + +* Wed Nov 25 2020 Remi Collet <remi@remirepo.net> - 1.9.0-1 +- update to 1.9.0 (stable) + +* Wed Nov 11 2020 Remi Collet <remi@remirepo.net> - 1.9.0~RC1-1 +- update to 1.9.0RC1 (beta) + +* Thu Nov  5 2020 Remi Collet <remi@remirepo.net> - 1.8.2-1 +- update to 1.8.2 (no change) +- with libbson and libmongoc 1.17.2 +- with libmongocrypt 1.0.4 + +* Tue Oct  6 2020 Remi Collet <remi@remirepo.net> - 1.8.1-1 +- update to 1.8.1 + +* Thu Aug 27 2020 Remi Collet <remi@remirepo.net> - 1.8.0-2 +- rebuild with system library on EL-8 + +* Fri Jul 31 2020 Remi Collet <remi@remirepo.net> - 1.8.0-1 +- update to 1.8.0 +- with libbson and libmongoc 1.17.0 + +* Fri Jul 17 2020 Remi Collet <remi@remirepo.net> - 1.8.0~rc1-1 +- update to 1.8.0RC1 +- with libbson and libmongoc 1.17.0-rc0 + +* Thu Jun 11 2020 Remi Collet <remi@remirepo.net> - 1.8.0~beta2-1 +- update to 1.8.0beta2 +- with libbson and libmongoc 1.17.0-beta2 -* Wed Jul  8 2020 Remi Collet <remi@remirepo.net> - 1.7.5-1 -- update to 1.7.5 +* Wed Apr 15 2020 Remi Collet <remi@remirepo.net> - 1.8.0~beta1-1 +- update to 1.8.0beta1 +- with libbson and libmongoc 1.17.0-beta  * Wed Mar 11 2020 Remi Collet <remi@remirepo.net> - 1.7.4-1  - update to 1.7.4 (no change)  | 
