diff options
-rw-r--r-- | PHPINFO | 3 | ||||
-rw-r--r-- | REFLECTION | 1249 | ||||
-rw-r--r-- | php-pecl-mongodb.spec | 11 |
3 files changed, 828 insertions, 435 deletions
@@ -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 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { +Extension [ <persistent> extension #115 mongodb version 1.15.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,59 +14,67 @@ Extension [ <persistent> 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 [ <internal:mongodb> function MongoDB\BSON\fromPHP ] { + Function [ <internal: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:mongodb> function MongoDB\BSON\fromPHP ] { - - Parameters [2] { - Parameter #0 [ <required> $bson ] - Parameter #1 [ <optional> array $typemap = <default> ] + - Parameters [1] { + Parameter #0 [ <required> object|array $value ] } + - Return [ string ] } - Function [ <internal:mongodb> function MongoDB\BSON\toJSON ] { + Function [ <internal: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: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: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: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\removeSubscriber ] { - Parameters [1] { Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } } @@ -313,13 +321,13 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [3] { - Method [ <internal:mongodb> abstract public method getFlags ] { + Method [ <internal:mongodb> abstract public method getPattern ] { - Parameters [0] { } } - Method [ <internal:mongodb> abstract public method getPattern ] { + Method [ <internal:mongodb> abstract public method getFlags ] { - Parameters [0] { } @@ -349,13 +357,13 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [3] { - Method [ <internal:mongodb> abstract public method getIncrement ] { + Method [ <internal:mongodb> abstract public method getTimestamp ] { - Parameters [0] { } } - Method [ <internal:mongodb> abstract public method getTimestamp ] { + Method [ <internal:mongodb> abstract public method getIncrement ] { - Parameters [0] { } @@ -418,11 +426,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -433,41 +442,37 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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> final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getData ] { - Parameters [0] { } - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\BinaryInterface> final public method getType ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ int ] } - 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 ] { @@ -475,18 +480,29 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -506,7 +522,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } @@ -519,36 +535,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -562,11 +583,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -577,47 +599,52 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <required> $value ] + Parameter #0 [ <required> string $value ] } } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -637,7 +664,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } @@ -650,36 +677,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -693,11 +725,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -708,41 +741,37 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $javascript ] - Parameter #1 [ <optional> $scope = <default> ] - } - } - - Method [ <internal:mongodb> final public method __serialize ] { - - - Parameters [0] { + Parameter #0 [ <required> string $code ] + Parameter #1 [ <optional> object|array|null $scope = null ] } } - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getCode ] { - Parameters [0] { } - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\JavascriptInterface> final public method getScope ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ ?object ] } - 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 ] { @@ -750,18 +779,29 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -775,11 +815,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -787,36 +828,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -830,11 +876,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -842,36 +889,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ mixed ] } } } @@ -885,11 +937,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -900,7 +953,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> $id = <default> ] + Parameter #0 [ <optional> ?string $id = null ] } } @@ -908,50 +961,56 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - 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] { } @@ -966,22 +1025,22 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [2] { - Method [ <internal:mongodb, inherits MongoDB\BSON\Unserializable> abstract public method bsonUnserialize ] { + Method [ <internal:mongodb, inherits MongoDB\BSON\Serializable> abstract public method bsonSerialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } } - 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 ] } } } } - Class [ <internal:mongodb> final class MongoDB\BSON\Regex implements Stringable, 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] { } @@ -990,11 +1049,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -1005,41 +1065,37 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $pattern ] - Parameter #1 [ <optional> $flags = <default> ] + Parameter #0 [ <required> string $pattern ] + Parameter #1 [ <optional> string $flags = '' ] } } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getPattern ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\RegexInterface> final public method getFlags ] { - Parameters [0] { } - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] - } - } - - 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 ] { @@ -1047,18 +1103,29 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -1078,7 +1145,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } @@ -1091,36 +1158,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1134,11 +1206,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -1149,41 +1222,37 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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> final public method __serialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getTimestamp ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\TimestampInterface> final public method getIncrement ] { - Parameters [0] { } - - Return [ string ] - } - - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] - } + - Return [ int ] } - 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 ] { @@ -1191,18 +1260,29 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -1222,7 +1302,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [7] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } @@ -1235,36 +1315,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1278,11 +1363,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -1293,14 +1379,15 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> $milliseconds = <default> ] + Parameter #0 [ <optional> DateTimeInterface|string|int|float|null $milliseconds = null ] } } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method toDateTime ] { - Parameters [0] { } + - Return [ DateTime ] } Method [ <internal:mongodb, prototype Stringable> final public method __toString ] { @@ -1310,36 +1397,41 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> $serialized ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, prototype MongoDB\BSON\UTCDateTimeInterface> final public method toDateTime ] { + Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { - Parameters [0] { } + - Return [ mixed ] } } } @@ -1410,44 +1502,49 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> ?array $options = <default> ] + Parameter #0 [ <optional> ?array $options = null ] } } - Method [ <internal:mongodb> final public method insert ] { + Method [ <internal:mongodb, prototype Countable> public method count ] { - - Parameters [1] { - Parameter #0 [ <required> $document ] + - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method update ] { + Method [ <internal:mongodb> public method delete ] { - - Parameters [3] { - Parameter #0 [ <required> $query ] - Parameter #1 [ <required> $newObj ] - Parameter #2 [ <optional> ?array $updateOptions = <default> ] + - Parameters [2] { + Parameter #0 [ <required> object|array $filter ] + Parameter #1 [ <optional> ?array $deleteOptions = null ] } + - Return [ void ] } - Method [ <internal:mongodb> final public method delete ] { + Method [ <internal:mongodb> final public method insert ] { - - Parameters [2] { - Parameter #0 [ <required> $query ] - Parameter #1 [ <optional> ?array $deleteOptions = <default> ] + - Parameters [1] { + Parameter #0 [ <required> object|array $document ] } + - Return [ mixed ] } - Method [ <internal:mongodb, prototype Countable> final public method count ] { + 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1471,41 +1568,103 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [5] { + - Methods [12] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> ?array $options = <default> ] + 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 $options = <default> ] + 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 $options = <default> ] + 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 getKey ] { - Parameters [1] { - Parameter #0 [ <required> MongoDB\BSON\BinaryInterface $keyVaultClient ] + Parameter #0 [ <required> MongoDB\BSON\Binary $keyId ] } + - Return [ ?object ] + } + + Method [ <internal:mongodb> final public method getKeyByAltName ] { + + - Parameters [1] { + Parameter #0 [ <required> string $keyAltName ] + } + - Return [ ?object ] + } + + 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1528,8 +1687,8 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $document ] - Parameter #1 [ <optional> ?array $options = <default> ] + Parameter #0 [ <required> object|array $document ] + Parameter #1 [ <optional> ?array $commandOptions = null ] } } @@ -1537,6 +1696,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1556,77 +1716,88 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [12] { - Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method setTypeMap ] { + 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] { } + - Return [ MongoDB\Driver\CursorId ] } 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, prototype Iterator> public method current ] { + Method [ <internal:mongodb, prototype Iterator> public method key ] { - Parameters [0] { } + - Return [ ?int ] } - Method [ <internal:mongodb, prototype Iterator> public method key ] { + Method [ <internal:mongodb, prototype Iterator> public method next ] { - Parameters [0] { } + - Return [ void ] } - Method [ <internal:mongodb, prototype Iterator> public method next ] { + Method [ <internal:mongodb, prototype Iterator> public method rewind ] { - Parameters [0] { } + - Return [ void ] } - Method [ <internal:mongodb, prototype Iterator> public method valid ] { + Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method setTypeMap ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $typemap ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Iterator> public method rewind ] { + Method [ <internal:mongodb, prototype MongoDB\Driver\CursorInterface> final public method toArray ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb, prototype Iterator> public method valid ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1640,11 +1811,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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\CursorId ] } } @@ -1652,7 +1824,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [6] { - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } @@ -1665,17 +1837,11 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Return [ string ] } - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] - } - } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { @@ -1683,12 +1849,22 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -1711,9 +1887,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $uri = <default> ] - Parameter #1 [ <optional> array $options = <default> ] - Parameter #2 [ <optional> array $driverOptions = <default> ] + Parameter #0 [ <optional> ?string $uri = null ] + Parameter #1 [ <optional> ?array $uriOptions = null ] + Parameter #2 [ <optional> ?array $driverOptions = null ] } } @@ -1722,6 +1898,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } Method [ <internal:mongodb> final public method createClientEncryption ] { @@ -1729,90 +1906,102 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> array $options ] } + - Return [ MongoDB\Driver\ClientEncryption ] } - Method [ <internal:mongodb> final public method executeCommand ] { + Method [ <internal:mongodb> final public method executeBulkWrite ] { - Parameters [3] { - Parameter #0 [ <required> $db ] - Parameter #1 [ <required> MongoDB\Driver\Command $command ] - Parameter #2 [ <optional> $options = <default> ] + 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 executeReadCommand ] { + 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> array $options = <default> ] + 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 executeQuery ] { - Parameters [3] { - Parameter #0 [ <required> $db ] - Parameter #1 [ <required> MongoDB\Driver\Command $command ] - Parameter #2 [ <optional> array $options = <default> ] + 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 executeReadWriteCommand ] { + 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> $options = <default> ] + Parameter #2 [ <optional> ?array $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ <internal:mongodb> final public method executeQuery ] { + Method [ <internal:mongodb> final public method executeReadWriteCommand ] { - Parameters [3] { - Parameter #0 [ <required> $namespace ] - Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] - Parameter #2 [ <optional> $options = <default> ] + 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 executeWriteCommand ] { - Parameters [3] { - Parameter #0 [ <required> $namespace ] - Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ <optional> $options = <default> ] + 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 getEncryptedFieldsMap ] { - 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 removeSubscriber ] { @@ -1820,26 +2009,30 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> MongoDB\Driver\Monitoring\Subscriber $subscriber ] } + - Return [ void ] } Method [ <internal:mongodb> final public method selectServer ] { - Parameters [1] { - Parameter #0 [ <optional> ?MongoDB\Driver\ReadPreference $readPreference = <default> ] + Parameter #0 [ <optional> ?MongoDB\Driver\ReadPreference $readPreference = null ] } + - Return [ MongoDB\Driver\Server ] } Method [ <internal:mongodb> final public method startSession ] { - Parameters [1] { - Parameter #0 [ <optional> ?array $options = <default> ] + Parameter #0 [ <optional> ?array $options = null ] } + - Return [ MongoDB\Driver\Session ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1862,8 +2055,8 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [2] { - Parameter #0 [ <required> $filter ] - Parameter #1 [ <optional> ?array $options = <default> ] + Parameter #0 [ <required> object|array $filter ] + Parameter #1 [ <optional> ?array $queryOptions = null ] } } @@ -1871,6 +2064,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ void ] } } } @@ -1878,9 +2072,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Class [ <internal:mongodb> 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 [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -1904,20 +2099,7 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> $level = <default> ] - } - } - - Method [ <internal:mongodb> final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <optional> ?string $level = null ] } } @@ -1925,24 +2107,28 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 [ object|array ] } Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { @@ -1950,6 +2136,22 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -1962,24 +2164,25 @@ Extension [ <persistent> 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 [ <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 ] } } @@ -1990,22 +2193,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [3] { - Parameter #0 [ <required> $mode ] - Parameter #1 [ <optional> ?array $tagSets = <default> ] - Parameter #2 [ <optional> ?array $options = <default> ] - } - } - - Method [ <internal:mongodb> final public method __serialize ] { - - - Parameters [0] { - } - } - - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] + Parameter #0 [ <required> string|int $mode ] + Parameter #1 [ <optional> ?array $tagSets = null ] + Parameter #2 [ <optional> ?array $options = null ] } } @@ -2013,42 +2203,49 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ ?object ] } Method [ <internal:mongodb> final public method getMaxStalenessSeconds ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal: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 [ object|array ] } Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { @@ -2056,6 +2253,22 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -2085,142 +2298,161 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [20] { - Method [ <internal:mongodb> final public method executeCommand ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - - Parameters [3] { - Parameter #0 [ <required> $db ] - Parameter #1 [ <required> MongoDB\Driver\Command $command ] - Parameter #2 [ <optional> $options = <default> ] + - Parameters [0] { } } - Method [ <internal:mongodb> final public method executeReadCommand ] { + Method [ <internal:mongodb> final public method executeBulkWrite ] { - Parameters [3] { - Parameter #0 [ <required> $db ] - Parameter #1 [ <required> MongoDB\Driver\Command $command ] - Parameter #2 [ <optional> array $options = <default> ] + 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 executeWriteCommand ] { + 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> array $options = <default> ] + Parameter #2 [ <optional> MongoDB\Driver\ReadPreference|array|null $options = null ] } + - Return [ MongoDB\Driver\Cursor ] } - Method [ <internal:mongodb> final public method executeReadWriteCommand ] { + 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 = <default> ] + 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 executeQuery ] { + Method [ <internal:mongodb> final public method executeReadCommand ] { - Parameters [3] { - Parameter #0 [ <required> $namespace ] - Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] - Parameter #2 [ <optional> $options = <default> ] + 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 executeReadWriteCommand ] { - Parameters [3] { - Parameter #0 [ <required> $namespace ] - Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ <optional> $options = <default> ] + 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 getHost ] { + Method [ <internal:mongodb> final public method executeWriteCommand ] { - - Parameters [0] { + - Parameters [3] { + 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 getTags ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method getInfo ] { - Parameters [0] { } + - Return [ array ] } Method [ <internal:mongodb> final public method getLatency ] { - Parameters [0] { } + - Return [ ?int ] } Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:mongodb> final public method getServerDescription ] { - Parameters [0] { } + - Return [ MongoDB\Driver\ServerDescription ] } - Method [ <internal:mongodb> final public method getType ] { + Method [ <internal:mongodb> final public method getTags ] { - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb> final public method isPrimary ] { + Method [ <internal:mongodb> final public method getType ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method isSecondary ] { + Method [ <internal:mongodb> final public method isArbiter ] { - Parameters [0] { } + - Return [ bool ] } - Method [ <internal:mongodb> final public method isArbiter ] { + Method [ <internal:mongodb> final public method isHidden ] { - Parameters [0] { } + - Return [ bool ] } - Method [ <internal:mongodb> final public method isHidden ] { + Method [ <internal:mongodb> final public method isPassive ] { - Parameters [0] { } + - Return [ bool ] } - Method [ <internal:mongodb> final public method isPassive ] { + Method [ <internal:mongodb> final public method isPrimary ] { - Parameters [0] { } + - Return [ bool ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb> final public method isSecondary ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2235,11 +2467,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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\ServerApi ] } } @@ -2251,41 +2484,46 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [3] { Parameter #0 [ <required> string $version ] - Parameter #1 [ <optional> ?bool $strict = <default> ] - Parameter #2 [ <optional> ?bool $deprecationErrors = <default> ] + Parameter #1 [ <optional> ?bool $strict = null ] + Parameter #2 [ <optional> ?bool $deprecationErrors = null ] } } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] { - Parameters [0] { } + - Return [ object|array ] } - Method [ <internal:mongodb> final public method __unserialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - - Parameters [1] { - Parameter #0 [ <required> array $data ] + - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb, prototype MongoDB\BSON\Serializable> final public method bsonSerialize ] { + Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> $serialized ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + Method [ <internal:mongodb> final public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ <required> array $data ] } + - Return [ void ] } - Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + Method [ <internal:mongodb> final public method __serialize ] { - - Parameters [1] { - Parameter #0 [ <required> string $serialized ] + - Parameters [0] { } + - Return [ array ] } } } @@ -2314,47 +2552,60 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [7] { + - Methods [8] { + 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 ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2379,36 +2630,47 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Properties [0] { } - - Methods [5] { - Method [ <internal:mongodb> final public method getServers ] { + - Methods [6] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } } - Method [ <internal:mongodb> final public method hasReadableServer ] { + Method [ <internal:mongodb> final public method getServers ] { - - Parameters [1] { - Parameter #0 [ <optional> MongoDB\Driver\ReadPreference $readPreference = <default> ] + - Parameters [0] { } + - Return [ array ] } - Method [ <internal:mongodb> final public method hasWritableServer ] { + Method [ <internal:mongodb> final public method getType ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb> final public method getType ] { + 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 ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2433,103 +2695,118 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [16] { + 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 isDirty ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method isInTransaction ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method startTransaction ] { - Parameters [1] { - Parameter #0 [ <optional> ?array $options = <default> ] - } - } - - Method [ <internal:mongodb, ctor> final private method __construct ] { - - - Parameters [0] { + Parameter #0 [ <optional> ?array $options = null ] } + - Return [ void ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2544,11 +2821,12 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] } } @@ -2559,59 +2837,52 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { Method [ <internal:mongodb, ctor> final public method __construct ] { - Parameters [3] { - Parameter #0 [ <required> $w ] - Parameter #1 [ <optional> $wtimeout = <default> ] - Parameter #2 [ <optional> $journal = <default> ] + Parameter #0 [ <required> string|int $w ] + Parameter #1 [ <optional> ?int $wtimeout = null ] + Parameter #2 [ <optional> ?bool $journal = null ] } } - Method [ <internal:mongodb> final public method __serialize ] { + Method [ <internal:mongodb> final public method getJournal ] { - Parameters [0] { } - } - - Method [ <internal:mongodb> final public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ <required> array $data ] - } + - Return [ ?bool ] } Method [ <internal:mongodb> final public method getW ] { - Parameters [0] { } + - Return [ string|int|null ] } Method [ <internal:mongodb> final public method getWtimeout ] { - Parameters [0] { } - } - - Method [ <internal:mongodb> final public method getJournal ] { - - - 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 [ object|array ] } Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { @@ -2619,6 +2890,22 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [1] { Parameter #0 [ <required> $serialized ] } + - 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 ] } } } @@ -2638,34 +2925,38 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [5] { - Method [ <internal:mongodb> final public method getCode ] { + Method [ <internal:mongodb, ctor> final private method __construct ] { - Parameters [0] { } } - Method [ <internal:mongodb> final public method getInfo ] { + Method [ <internal:mongodb> final public method getCode ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getMessage ] { + Method [ <internal:mongodb> final public method getInfo ] { - Parameters [0] { } + - Return [ ?object ] } - Method [ <internal:mongodb, ctor> final private method __construct ] { + Method [ <internal:mongodb> final public method getMessage ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2685,40 +2976,45 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - Methods [6] { - Method [ <internal:mongodb> final public method getCode ] { + 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 ] { + Method [ <internal:mongodb> final public method getMessage ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2738,76 +3034,87 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } - 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 ] { - Parameters [0] { } - } - - Method [ <internal:mongodb, ctor> final private method __construct ] { - - - Parameters [0] { - } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -2907,8 +3214,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3006,8 +3314,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3105,8 +3414,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3206,13 +3516,15 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 ] { @@ -3310,8 +3622,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3411,13 +3724,15 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 ] { @@ -3517,13 +3832,15 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 ] { @@ -3621,8 +3938,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3720,8 +4038,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -3819,8 +4138,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -4100,8 +4420,9 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { 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 ] { @@ -4348,60 +4669,70 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ string ] } - Method [ <internal:mongodb> final public method getError ] { + Method [ <internal:mongodb> final public method getDurationMicros ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getDurationMicros ] { + Method [ <internal:mongodb> final public method getError ] { - Parameters [0] { } + - Return [ Exception ] } Method [ <internal:mongodb> final public method getOperationId ] { - Parameters [0] { } + - Return [ string ] } 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 ] { - 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4431,54 +4762,63 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 getOperationId ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method getRequestId ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal: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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4508,54 +4848,63 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method getDurationMicros ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:mongodb> final public method getOperationId ] { - Parameters [0] { } + - Return [ string ] } 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 ] { - 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4661,40 +5010,46 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } } - Method [ <internal:mongodb> final public method getHost ] { + Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getPort ] { + 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4720,28 +5075,32 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } } - Method [ <internal:mongodb> final public method getHost ] { + Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getPort ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4771,36 +5130,42 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } Method [ <internal:mongodb> final public method getError ] { - Parameters [0] { } + - Return [ Exception ] } - Method [ <internal:mongodb> final public method getHost ] { + Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getPort ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4826,28 +5191,32 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } } - Method [ <internal:mongodb> final public method getHost ] { + Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getPort ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4877,36 +5246,42 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getHost ] { + 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 getReply ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method isAwaited ] { - Parameters [0] { } + - Return [ bool ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4932,28 +5307,32 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { } } - Method [ <internal:mongodb> final public method getHost ] { + Method [ <internal:mongodb> final public method getPort ] { - Parameters [0] { } + - Return [ int ] } - Method [ <internal:mongodb> final public method getPort ] { + Method [ <internal:mongodb> final public method getHost ] { - Parameters [0] { } + - Return [ string ] } Method [ <internal:mongodb> final public method getTopologyId ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -4983,24 +5362,28 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - 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 ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -5030,12 +5413,14 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ <internal:mongodb> final public method __wakeup ] { - Parameters [0] { } + - Return [ void ] } } } @@ -5065,12 +5450,14 @@ Extension [ <persistent> extension #114 mongodb version 1.14.2 ] { - Parameters [0] { } + - Return [ MongoDB\BSON\ObjectId ] } Method [ <internal:mongodb> 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 <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 |