From 773d3d5f908daa53eb3c0e139f3f6efa325f11b3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Nov 2022 10:00:42 +0100 Subject: update to 1.15.0 EL-7 use bundled libbson and libmongc 1.23.1 --- PHPINFO | 3 +- REFLECTION | 1255 ++++++++++++++++++++++++++++++++----------------- php-pecl-mongodb.spec | 11 +- 3 files changed, 831 insertions(+), 438 deletions(-) diff --git a/PHPINFO b/PHPINFO index ab6a7d8..308418d 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ mongodb MongoDB support => enabled -MongoDB extension version => 1.14.2 +MongoDB extension version => 1.15.0 MongoDB extension stability => stable libbson headers version => 1.23.1 libbson library version => 1.23.1 @@ -23,6 +23,7 @@ libmongocrypt headers version => 1.6.1 libmongocrypt library version => 1.6.1 libmongocrypt crypto => enabled libmongocrypt crypto library => libcrypto +crypt_shared library version => unknown Directive => Local Value => Master Value mongodb.debug => no value => no value diff --git a/REFLECTION b/REFLECTION index c2651f5..d86e9d0 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #114 mongodb version 1.14.2 ] { +Extension [ extension #115 mongodb version 1.15.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,59 +14,67 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Constants [2] { - Constant [ string MONGODB_VERSION ] { 1.14.2 } + Constant [ string MONGODB_VERSION ] { 1.15.0 } Constant [ string MONGODB_STABILITY ] { stable } } - Functions { - Function [ function MongoDB\BSON\fromPHP ] { + Function [ function MongoDB\BSON\fromJSON ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ string $json ] } + - Return [ string ] } - Function [ function MongoDB\BSON\toPHP ] { + Function [ function MongoDB\BSON\fromPHP ] { - - Parameters [2] { - Parameter #0 [ $bson ] - Parameter #1 [ array $typemap = ] + - Parameters [1] { + Parameter #0 [ object|array $value ] } + - Return [ string ] } - Function [ function MongoDB\BSON\toJSON ] { + Function [ function MongoDB\BSON\toCanonicalExtendedJSON ] { - Parameters [1] { - Parameter #0 [ $bson ] + Parameter #0 [ string $bson ] } + - Return [ string ] } - Function [ function MongoDB\BSON\toCanonicalExtendedJSON ] { + Function [ function MongoDB\BSON\toJSON ] { - Parameters [1] { - Parameter #0 [ $bson ] + Parameter #0 [ string $bson ] } + - Return [ string ] } - Function [ function MongoDB\BSON\toRelaxedExtendedJSON ] { + Function [ function MongoDB\BSON\toPHP ] { - - Parameters [1] { - Parameter #0 [ $bson ] + - Parameters [2] { + Parameter #0 [ string $bson ] + Parameter #1 [ ?array $typemap = null ] } + - Return [ object|array ] } - Function [ function MongoDB\BSON\fromJSON ] { + Function [ function MongoDB\BSON\toRelaxedExtendedJSON ] { - Parameters [1] { - Parameter #0 [ $json ] + Parameter #0 [ string $bson ] } + - Return [ string ] } Function [ function MongoDB\Driver\Monitoring\addSubscriber ] { - Parameters [1] { Parameter #0 [ MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } Function [ function MongoDB\Driver\Monitoring\removeSubscriber ] { - Parameters [1] { Parameter #0 [ MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } } @@ -313,13 +321,13 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [3] { - Method [ abstract public method getFlags ] { + Method [ abstract public method getPattern ] { - Parameters [0] { } } - Method [ abstract public method getPattern ] { + Method [ abstract public method getFlags ] { - Parameters [0] { } @@ -349,13 +357,13 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [3] { - Method [ abstract public method getIncrement ] { + Method [ abstract public method getTimestamp ] { - Parameters [0] { } } - Method [ abstract public method getTimestamp ] { + Method [ abstract public method getIncrement ] { - Parameters [0] { } @@ -418,11 +426,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\Binary ] } } @@ -433,41 +442,37 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $type ] + Parameter #0 [ string $data ] + Parameter #1 [ int $type = MongoDB\BSON\Binary::TYPE_GENERIC ] } } - Method [ final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ final public method __toString ] { + Method [ final public method getData ] { - Parameters [0] { } - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method getType ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ int ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -475,18 +480,29 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method getData ] { + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method getType ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -506,7 +522,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ final public method __serialize ] { + Method [ final private method __construct ] { - Parameters [0] { } @@ -519,36 +535,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method jsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ final private method __construct ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -562,11 +583,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\Decimal128 ] } } @@ -577,47 +599,52 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ string $value ] } } - Method [ final public method __serialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method __toString ] { + Method [ final public method serialize ] { - Parameters [0] { } - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method unserialize ] { - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method unserialize ] { + Method [ final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -637,7 +664,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ final public method __serialize ] { + Method [ final private method __construct ] { - Parameters [0] { } @@ -650,36 +677,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method jsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ final private method __construct ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -693,11 +725,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\Javascript ] } } @@ -708,41 +741,37 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $javascript ] - Parameter #1 [ $scope = ] + Parameter #0 [ string $code ] + Parameter #1 [ object|array|null $scope = null ] } } - Method [ final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ final public method __toString ] { + Method [ final public method getCode ] { - Parameters [0] { } - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method getScope ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ ?object ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -750,18 +779,29 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method getCode ] { + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method getScope ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -775,11 +815,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\MaxKey ] } } @@ -787,36 +828,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ final public method __serialize ] { + Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method unserialize ] { - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method unserialize ] { + Method [ final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -830,11 +876,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\MinKey ] } } @@ -842,36 +889,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ final public method __serialize ] { + Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method unserialize ] { - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method unserialize ] { + Method [ final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -885,11 +937,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\ObjectId ] } } @@ -900,7 +953,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ $id = ] + Parameter #0 [ ?string $id = null ] } } @@ -908,50 +961,56 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method __serialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method __toString ] { + Method [ final public method serialize ] { - Parameters [0] { } - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method unserialize ] { - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method unserialize ] { + Method [ final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } - Interface [ interface MongoDB\BSON\Persistable extends MongoDB\BSON\Unserializable, MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { + Interface [ interface MongoDB\BSON\Persistable extends MongoDB\BSON\Serializable, MongoDB\BSON\Type, MongoDB\BSON\Unserializable ] { - Constants [0] { } @@ -966,22 +1025,22 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [2] { - Method [ abstract public method bsonUnserialize ] { + Method [ abstract public method bsonSerialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } } - Method [ abstract public method bsonSerialize ] { + Method [ abstract public method bsonUnserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } } } } - Class [ final class MongoDB\BSON\Regex implements Stringable, MongoDB\BSON\RegexInterface, MongoDB\BSON\Type, Serializable, JsonSerializable ] { + Class [ final class MongoDB\BSON\Regex implements Stringable, MongoDB\BSON\RegexInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { - Constants [0] { } @@ -990,11 +1049,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\Regex ] } } @@ -1005,41 +1065,37 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $pattern ] - Parameter #1 [ $flags = ] + Parameter #0 [ string $pattern ] + Parameter #1 [ string $flags = '' ] } } - Method [ final public method __serialize ] { + Method [ final public method getPattern ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method __toString ] { + Method [ final public method getFlags ] { - Parameters [0] { } - Return [ string ] } - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] - } - } - - Method [ final public method jsonSerialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -1047,21 +1103,32 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method getPattern ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method getFlags ] { + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - } - } + + Method [ final public method jsonSerialize ] { + + - Parameters [0] { + } + - Return [ mixed ] + } + } + } Class [ final class MongoDB\BSON\Symbol implements Stringable, JsonSerializable, MongoDB\BSON\Type, Serializable ] { @@ -1078,7 +1145,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ final public method __serialize ] { + Method [ final private method __construct ] { - Parameters [0] { } @@ -1091,36 +1158,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method jsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ final private method __construct ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1134,11 +1206,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\Timestamp ] } } @@ -1149,41 +1222,37 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $increment ] - Parameter #1 [ $timestamp ] + Parameter #0 [ string|int $increment ] + Parameter #1 [ string|int $timestamp ] } } - Method [ final public method __serialize ] { + Method [ final public method getTimestamp ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method __toString ] { + Method [ final public method getIncrement ] { - Parameters [0] { } - - Return [ string ] - } - - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] - } + - Return [ int ] } - Method [ final public method jsonSerialize ] { + Method [ final public method __toString ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -1191,18 +1260,29 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method getIncrement ] { + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method getTimestamp ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1222,7 +1302,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ final public method __serialize ] { + Method [ final private method __construct ] { - Parameters [0] { } @@ -1235,36 +1315,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method jsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ final private method __construct ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1278,11 +1363,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\BSON\UTCDateTime ] } } @@ -1293,14 +1379,15 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ $milliseconds = ] + Parameter #0 [ DateTimeInterface|string|int|float|null $milliseconds = null ] } } - Method [ final public method __serialize ] { + Method [ final public method toDateTime ] { - Parameters [0] { } + - Return [ DateTime ] } Method [ final public method __toString ] { @@ -1310,36 +1397,41 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method jsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ final public method toDateTime ] { + Method [ final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1410,44 +1502,49 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ ?array $options = ] + Parameter #0 [ ?array $options = null ] } } - Method [ final public method insert ] { + Method [ public method count ] { - - Parameters [1] { - Parameter #0 [ $document ] + - Parameters [0] { } + - Return [ int ] } - Method [ final public method update ] { + Method [ public method delete ] { - - Parameters [3] { - Parameter #0 [ $query ] - Parameter #1 [ $newObj ] - Parameter #2 [ ?array $updateOptions = ] + - Parameters [2] { + Parameter #0 [ object|array $filter ] + Parameter #1 [ ?array $deleteOptions = null ] } + - Return [ void ] } - Method [ final public method delete ] { + Method [ final public method insert ] { - - Parameters [2] { - Parameter #0 [ $query ] - Parameter #1 [ ?array $deleteOptions = ] + - Parameters [1] { + Parameter #0 [ object|array $document ] } + - Return [ mixed ] } - Method [ final public method count ] { + Method [ public method update ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ object|array $filter ] + Parameter #1 [ object|array $newObj ] + Parameter #2 [ ?array $updateOptions = null ] } + - Return [ void ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1471,41 +1568,103 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [5] { + - Methods [12] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ ?array $options = ] + Parameter #0 [ array $options ] } } + Method [ final public method addKeyAltName ] { + + - Parameters [2] { + Parameter #0 [ MongoDB\BSON\Binary $keyId ] + Parameter #1 [ string $keyAltName ] + } + - Return [ ?object ] + } + Method [ final public method createDataKey ] { - Parameters [2] { - Parameter #0 [ $kmsProvider ] - Parameter #1 [ ?array $options = ] + Parameter #0 [ string $kmsProvider ] + Parameter #1 [ ?array $options = null ] } + - Return [ MongoDB\BSON\Binary ] + } + + Method [ final public method decrypt ] { + + - Parameters [1] { + Parameter #0 [ MongoDB\BSON\Binary $value ] + } + - Return [ mixed ] + } + + Method [ final public method deleteKey ] { + + - Parameters [1] { + Parameter #0 [ MongoDB\BSON\Binary $keyId ] + } + - Return [ object ] } Method [ final public method encrypt ] { - Parameters [2] { - Parameter #0 [ $value ] - Parameter #1 [ ?array $options = ] + Parameter #0 [ mixed $value ] + Parameter #1 [ ?array $options = null ] } + - Return [ MongoDB\BSON\Binary ] } - Method [ final public method decrypt ] { + Method [ final public method getKey ] { - Parameters [1] { - Parameter #0 [ MongoDB\BSON\BinaryInterface $keyVaultClient ] + Parameter #0 [ MongoDB\BSON\Binary $keyId ] } + - Return [ ?object ] + } + + Method [ final public method getKeyByAltName ] { + + - Parameters [1] { + Parameter #0 [ string $keyAltName ] + } + - Return [ ?object ] + } + + Method [ final public method getKeys ] { + + - Parameters [0] { + } + - Return [ MongoDB\Driver\Cursor ] + } + + Method [ final public method removeKeyAltName ] { + + - Parameters [2] { + Parameter #0 [ MongoDB\BSON\Binary $keyId ] + Parameter #1 [ string $keyAltName ] + } + - Return [ ?object ] + } + + Method [ final public method rewrapManyDataKey ] { + + - Parameters [2] { + Parameter #0 [ object|array $filter ] + Parameter #1 [ ?array $options = null ] + } + - Return [ object ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1528,8 +1687,8 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $document ] - Parameter #1 [ ?array $options = ] + Parameter #0 [ object|array $document ] + Parameter #1 [ ?array $commandOptions = null ] } } @@ -1537,6 +1696,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1556,77 +1716,88 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [12] { - Method [ final public method setTypeMap ] { + Method [ final private method __construct ] { - - Parameters [1] { - Parameter #0 [ array $typemap ] + - Parameters [0] { } } - Method [ final public method toArray ] { + Method [ public method current ] { - Parameters [0] { } + - Return [ object|array|null ] } Method [ final public method getId ] { - Parameters [0] { } + - Return [ MongoDB\Driver\CursorId ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ MongoDB\Driver\Server ] } Method [ final public method isDead ] { - Parameters [0] { } + - Return [ bool ] } - Method [ public method current ] { + Method [ public method key ] { - Parameters [0] { } + - Return [ ?int ] } - Method [ public method key ] { + Method [ public method next ] { - Parameters [0] { } + - Return [ void ] } - Method [ public method next ] { + Method [ public method rewind ] { - Parameters [0] { } + - Return [ void ] } - Method [ public method valid ] { + Method [ final public method setTypeMap ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $typemap ] } + - Return [ void ] } - Method [ public method rewind ] { + Method [ final public method toArray ] { - Parameters [0] { } + - Return [ array ] } - Method [ final private method __construct ] { + Method [ public method valid ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1640,11 +1811,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\Driver\CursorId ] } } @@ -1652,7 +1824,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [6] { - Method [ final public method __serialize ] { + Method [ final private method __construct ] { - Parameters [0] { } @@ -1665,17 +1837,11 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] - } - } - Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -1683,12 +1849,22 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final private method __construct ] { + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } } } @@ -1711,9 +1887,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [3] { - Parameter #0 [ $uri = ] - Parameter #1 [ array $options = ] - Parameter #2 [ array $driverOptions = ] + Parameter #0 [ ?string $uri = null ] + Parameter #1 [ ?array $uriOptions = null ] + Parameter #2 [ ?array $driverOptions = null ] } } @@ -1722,6 +1898,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } Method [ final public method createClientEncryption ] { @@ -1729,90 +1906,102 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ array $options ] } + - Return [ MongoDB\Driver\ClientEncryption ] } - Method [ final public method executeCommand ] { + Method [ final public method executeBulkWrite ] { - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ $options = ] + Parameter #0 [ string $namespace ] + Parameter #1 [ MongoDB\Driver\BulkWrite $bulk ] + Parameter #2 [ MongoDB\Driver\WriteConcern|array|null $options = null ] } + - Return [ MongoDB\Driver\WriteResult ] } - Method [ final public method executeReadCommand ] { + Method [ final public method executeCommand ] { - Parameters [3] { - Parameter #0 [ $db ] + Parameter #0 [ string $db ] Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ array $options = ] + Parameter #2 [ MongoDB\Driver\ReadPreference|array|null $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeWriteCommand ] { + Method [ final public method executeQuery ] { - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ array $options = ] + Parameter #0 [ string $namespace ] + Parameter #1 [ MongoDB\Driver\Query $query ] + Parameter #2 [ MongoDB\Driver\ReadPreference|array|null $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeReadWriteCommand ] { + Method [ final public method executeReadCommand ] { - Parameters [3] { - Parameter #0 [ $db ] + Parameter #0 [ string $db ] Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ $options = ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeQuery ] { + Method [ final public method executeReadWriteCommand ] { - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\Query $zquery ] - Parameter #2 [ $options = ] + Parameter #0 [ string $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeBulkWrite ] { + Method [ final public method executeWriteCommand ] { - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ $options = ] + Parameter #0 [ string $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } Method [ final public method getEncryptedFieldsMap ] { - Parameters [0] { } + - Return [ object|array|null ] } Method [ final public method getReadConcern ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ReadConcern ] } Method [ final public method getReadPreference ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ReadPreference ] } Method [ final public method getServers ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method getWriteConcern ] { - Parameters [0] { } + - Return [ MongoDB\Driver\WriteConcern ] } Method [ final public method removeSubscriber ] { @@ -1820,26 +2009,30 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } Method [ final public method selectServer ] { - Parameters [1] { - Parameter #0 [ ?MongoDB\Driver\ReadPreference $readPreference = ] + Parameter #0 [ ?MongoDB\Driver\ReadPreference $readPreference = null ] } + - Return [ MongoDB\Driver\Server ] } Method [ final public method startSession ] { - Parameters [1] { - Parameter #0 [ ?array $options = ] + Parameter #0 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Session ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1862,8 +2055,8 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [2] { - Parameter #0 [ $filter ] - Parameter #1 [ ?array $options = ] + Parameter #0 [ object|array $filter ] + Parameter #1 [ ?array $queryOptions = null ] } } @@ -1871,6 +2064,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1878,9 +2072,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Class [ final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { - 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 } } @@ -1889,11 +2083,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\Driver\ReadConcern ] } } @@ -1904,20 +2099,7 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ $level = ] - } - } - - Method [ final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ ?string $level = null ] } } @@ -1925,24 +2107,28 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ ?string ] } Method [ final public method isDefault ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method bsonSerialize ] { - Parameters [0] { } + - Return [ object|array ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -1950,6 +2136,22 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] + } + + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] } } } @@ -1962,24 +2164,25 @@ Extension [ extension #114 mongodb version 1.14.2 ] { 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 [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\Driver\ReadPreference ] } } @@ -1990,22 +2193,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [3] { - Parameter #0 [ $mode ] - Parameter #1 [ ?array $tagSets = ] - Parameter #2 [ ?array $options = ] - } - } - - Method [ final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] + Parameter #0 [ string|int $mode ] + Parameter #1 [ ?array $tagSets = null ] + Parameter #2 [ ?array $options = null ] } } @@ -2013,42 +2203,49 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ ?object ] } Method [ final public method getMaxStalenessSeconds ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getMode ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getModeString ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getTagSets ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method bsonSerialize ] { - Parameters [0] { } + - Return [ object|array ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -2056,6 +2253,22 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] + } + + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] } } } @@ -2085,142 +2298,161 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [20] { - Method [ final public method executeCommand ] { + Method [ final private method __construct ] { - - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ $options = ] + - Parameters [0] { } } - Method [ final public method executeReadCommand ] { + Method [ final public method executeBulkWrite ] { - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ array $options = ] + Parameter #0 [ string $namespace ] + Parameter #1 [ MongoDB\Driver\BulkWrite $bulkWrite ] + Parameter #2 [ MongoDB\Driver\WriteConcern|array|null $options = null ] } + - Return [ MongoDB\Driver\WriteResult ] } - Method [ final public method executeWriteCommand ] { + Method [ final public method executeCommand ] { - Parameters [3] { - Parameter #0 [ $db ] + Parameter #0 [ string $db ] Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ array $options = ] + Parameter #2 [ MongoDB\Driver\ReadPreference|array|null $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeReadWriteCommand ] { + Method [ final public method executeQuery ] { - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ array $options = ] + Parameter #0 [ string $namespace ] + Parameter #1 [ MongoDB\Driver\Query $query ] + Parameter #2 [ MongoDB\Driver\ReadPreference|array|null $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeQuery ] { + Method [ final public method executeReadCommand ] { - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\Query $zquery ] - Parameter #2 [ $options = ] + Parameter #0 [ string $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method executeBulkWrite ] { + Method [ final public method executeReadWriteCommand ] { - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ $options = ] + Parameter #0 [ string $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method getHost ] { + Method [ final public method executeWriteCommand ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ string $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ final public method getTags ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getInfo ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method getLatency ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getServerDescription ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ServerDescription ] } - Method [ final public method getType ] { + Method [ final public method getTags ] { - Parameters [0] { } + - Return [ array ] } - Method [ final public method isPrimary ] { + Method [ final public method getType ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method isSecondary ] { + Method [ final public method isArbiter ] { - Parameters [0] { } + - Return [ bool ] } - Method [ final public method isArbiter ] { + Method [ final public method isHidden ] { - Parameters [0] { } + - Return [ bool ] } - Method [ final public method isHidden ] { + Method [ final public method isPassive ] { - Parameters [0] { } + - Return [ bool ] } - Method [ final public method isPassive ] { + Method [ final public method isPrimary ] { - Parameters [0] { } + - Return [ bool ] } - Method [ final private method __construct ] { + Method [ final public method isSecondary ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2235,11 +2467,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\Driver\ServerApi ] } } @@ -2251,41 +2484,46 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [3] { Parameter #0 [ string $version ] - Parameter #1 [ ?bool $strict = ] - Parameter #2 [ ?bool $deprecationErrors = ] + Parameter #1 [ ?bool $strict = null ] + Parameter #2 [ ?bool $deprecationErrors = null ] } } - Method [ final public method __serialize ] { + Method [ final public method bsonSerialize ] { - Parameters [0] { } + - Return [ object|array ] } - Method [ final public method __unserialize ] { + Method [ final public method serialize ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ final public method bsonSerialize ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } + - Return [ void ] } - Method [ final public method serialize ] { + Method [ final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } + - Return [ void ] } - Method [ final public method unserialize ] { + Method [ final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ string $serialized ] + - Parameters [0] { } + - Return [ array ] } } } @@ -2314,47 +2552,60 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [7] { + - Methods [8] { + Method [ final private method __construct ] { + + - Parameters [0] { + } + } + Method [ final public method getHelloResponse ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getLastUpdateTime ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getRoundTripTime ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getType ] { - Parameters [0] { } + - Return [ string ] } - Method [ final private method __construct ] { + Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2379,36 +2630,47 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [5] { - Method [ final public method getServers ] { + - Methods [6] { + Method [ final private method __construct ] { - Parameters [0] { } } - Method [ final public method hasReadableServer ] { + Method [ final public method getServers ] { - - Parameters [1] { - Parameter #0 [ MongoDB\Driver\ReadPreference $readPreference = ] + - Parameters [0] { } + - Return [ array ] } - Method [ final public method hasWritableServer ] { + Method [ final public method getType ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method getType ] { + Method [ final public method hasReadableServer ] { + + - Parameters [1] { + Parameter #0 [ ?MongoDB\Driver\ReadPreference $readPreference = null ] + } + - Return [ bool ] + } + + Method [ final public method hasWritableServer ] { - Parameters [0] { } + - Return [ bool ] } - Method [ final private method __construct ] { + Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2433,103 +2695,118 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [16] { + Method [ final private method __construct ] { + + - Parameters [0] { + } + } + Method [ final public method abortTransaction ] { - Parameters [0] { } + - Return [ void ] } Method [ final public method advanceClusterTime ] { - Parameters [1] { - Parameter #0 [ $clusterTime ] + Parameter #0 [ object|array $clusterTime ] } + - Return [ void ] } Method [ final public method advanceOperationTime ] { - Parameters [1] { - Parameter #0 [ $timestamp ] + Parameter #0 [ MongoDB\BSON\TimestampInterface $operationTime ] } + - Return [ void ] } Method [ final public method commitTransaction ] { - Parameters [0] { } + - Return [ void ] } Method [ final public method endSession ] { - Parameters [0] { } + - Return [ void ] } Method [ final public method getClusterTime ] { - Parameters [0] { } + - Return [ ?object ] } Method [ final public method getLogicalSessionId ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method getOperationTime ] { - Parameters [0] { } + - Return [ ?MongoDB\BSON\Timestamp ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ ?MongoDB\Driver\Server ] } Method [ final public method getTransactionOptions ] { - Parameters [0] { } + - Return [ ?array ] } Method [ final public method getTransactionState ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method isDirty ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method isInTransaction ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method startTransaction ] { - Parameters [1] { - Parameter #0 [ ?array $options = ] - } - } - - Method [ final private method __construct ] { - - - Parameters [0] { + Parameter #0 [ ?array $options = null ] } + - Return [ void ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2544,11 +2821,12 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final static public method __set_state ] { - Parameters [1] { Parameter #0 [ array $properties ] } + - Return [ MongoDB\Driver\WriteConcern ] } } @@ -2559,59 +2837,52 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method __construct ] { - Parameters [3] { - Parameter #0 [ $w ] - Parameter #1 [ $wtimeout = ] - Parameter #2 [ $journal = ] + Parameter #0 [ string|int $w ] + Parameter #1 [ ?int $wtimeout = null ] + Parameter #2 [ ?bool $journal = null ] } } - Method [ final public method __serialize ] { + Method [ final public method getJournal ] { - Parameters [0] { } - } - - Method [ final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ array $data ] - } + - Return [ ?bool ] } Method [ final public method getW ] { - Parameters [0] { } + - Return [ string|int|null ] } Method [ final public method getWtimeout ] { - Parameters [0] { } - } - - Method [ final public method getJournal ] { - - - Parameters [0] { - } + - Return [ int ] } Method [ final public method isDefault ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method bsonSerialize ] { - Parameters [0] { } + - Return [ object|array ] } Method [ final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method unserialize ] { @@ -2619,6 +2890,22 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ $serialized ] } + - Return [ void ] + } + + Method [ final public method __unserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + - Return [ void ] + } + + Method [ final public method __serialize ] { + + - Parameters [0] { + } + - Return [ array ] } } } @@ -2638,34 +2925,38 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ final public method getCode ] { + Method [ final private method __construct ] { - Parameters [0] { } } - Method [ final public method getInfo ] { + Method [ final public method getCode ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getMessage ] { + Method [ final public method getInfo ] { - Parameters [0] { } + - Return [ ?object ] } - Method [ final private method __construct ] { + Method [ final public method getMessage ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2685,40 +2976,45 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [6] { - Method [ final public method getCode ] { + Method [ final private method __construct ] { - Parameters [0] { } } - Method [ final public method getIndex ] { + Method [ final public method getCode ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getMessage ] { + Method [ final public method getIndex ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getInfo ] { - Parameters [0] { } + - Return [ ?object ] } - Method [ final private method __construct ] { + Method [ final public method getMessage ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2738,76 +3034,87 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } - Methods [12] { + Method [ final private method __construct ] { + + - Parameters [0] { + } + } + Method [ final public method getInsertedCount ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getMatchedCount ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getModifiedCount ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getDeletedCount ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getUpsertedCount ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ MongoDB\Driver\Server ] } Method [ final public method getUpsertedIds ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method getWriteConcernError ] { - Parameters [0] { } + - Return [ ?MongoDB\Driver\WriteConcernError ] } Method [ final public method getWriteErrors ] { - Parameters [0] { } + - Return [ array ] } Method [ final public method isAcknowledged ] { - Parameters [0] { } - } - - Method [ final private method __construct ] { - - - Parameters [0] { - } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2907,8 +3214,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3006,8 +3314,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3105,8 +3414,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3206,13 +3516,15 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\Driver\WriteResult ] } Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3310,8 +3622,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3411,13 +3724,15 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\Driver\WriteResult ] } Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3517,13 +3832,15 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3621,8 +3938,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3720,8 +4038,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -3819,8 +4138,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -4100,8 +4420,9 @@ Extension [ extension #114 mongodb version 1.14.2 ] { Method [ final public method hasErrorLabel ] { - Parameters [1] { - Parameter #0 [ $label ] + Parameter #0 [ string $errorLabel ] } + - Return [ bool ] } Method [ public method __construct ] { @@ -4348,60 +4669,70 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ string ] } - Method [ final public method getError ] { + Method [ final public method getDurationMicros ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getDurationMicros ] { + Method [ final public method getError ] { - Parameters [0] { } + - Return [ Exception ] } Method [ final public method getOperationId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getReply ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method getRequestId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ MongoDB\Driver\Server ] } Method [ final public method getServiceId ] { - Parameters [0] { } + - Return [ ?MongoDB\BSON\ObjectId ] } Method [ final public method getServerConnectionId ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4431,54 +4762,63 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method getCommandName ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getDatabaseName ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getOperationId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getRequestId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ MongoDB\Driver\Server ] } Method [ final public method getServiceId ] { - Parameters [0] { } + - Return [ ?MongoDB\BSON\ObjectId ] } Method [ final public method getServerConnectionId ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4508,54 +4848,63 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getDurationMicros ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getOperationId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getReply ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method getRequestId ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getServer ] { - Parameters [0] { } + - Return [ MongoDB\Driver\Server ] } Method [ final public method getServiceId ] { - Parameters [0] { } + - Return [ ?MongoDB\BSON\ObjectId ] } Method [ final public method getServerConnectionId ] { - Parameters [0] { } + - Return [ ?int ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4661,40 +5010,46 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } } - Method [ final public method getHost ] { + Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getPort ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getNewDescription ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ServerDescription ] } Method [ final public method getPreviousDescription ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ServerDescription ] } Method [ final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4720,28 +5075,32 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } } - Method [ final public method getHost ] { + Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getPort ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4771,36 +5130,42 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } Method [ final public method getError ] { - Parameters [0] { } + - Return [ Exception ] } - Method [ final public method getHost ] { + Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getPort ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4826,28 +5191,32 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } } - Method [ final public method getHost ] { + Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getPort ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4877,36 +5246,42 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getHost ] { + Method [ final public method getReply ] { - Parameters [0] { } + - Return [ object ] } Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getReply ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4932,28 +5307,32 @@ Extension [ extension #114 mongodb version 1.14.2 ] { } } - Method [ final public method getHost ] { + Method [ final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ final public method getPort ] { + Method [ final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4983,24 +5362,28 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\Driver\TopologyDescription ] } Method [ final public method getPreviousDescription ] { - Parameters [0] { } + - Return [ MongoDB\Driver\TopologyDescription ] } Method [ final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -5030,12 +5413,14 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -5065,12 +5450,14 @@ Extension [ extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index fc35170..1c8e055 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -34,20 +34,20 @@ %if %{with syslib} # Build dependency -%global libmongo 1.22.2 +%global libmongo 1.23.1 %global libcrypt 1.5.2 # Runtime dependency %global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongo}) %global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt}) %else # Bundled versions -%global libmongo 1.22.2 +%global libmongo 1.23.1 %global libcrypt 1.5.2 %endif Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.14.2 +%global upstream_version 1.15.0 #global upstream_prever beta1 #global upstream_lower ~beta1 Version: %{upstream_version}%{?upstream_lower} @@ -323,8 +323,13 @@ exit $ret %changelog +* Wed Nov 23 2022 Remi Collet - 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 - 1.14.2-1 - update to 1.14.2 +- EL-7 use bundled libmongocrypt 1.5.2 * Mon Sep 12 2022 Remi Collet - 1.14.1-2 - EL-9 rebuild with libraries in EPEL stable -- cgit