From 501053e2de2a1f7a1ba87cd899a978a7316b3e48 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Feb 2020 17:20:49 +0100 Subject: update to 1.7.0 with libbson and libmongoc 1.16.1 with libmongocrypt 1.0.1 fix build with system libraries using patch from https://github.com/mongodb/mongo-php-driver/pull/1095 --- REFLECTION | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 223 insertions(+), 16 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index ce233f2..ab42c66 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #182 mongodb version 1.6.1 ] { +Extension [ extension #106 mongodb version 1.7.0 ] { - Dependencies { Dependency [ date (Required) ] @@ -14,7 +14,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } - Constants [2] { - Constant [ string MONGODB_VERSION ] { 1.6.1 } + Constant [ string MONGODB_VERSION ] { 1.7.0 } Constant [ string MONGODB_STABILITY ] { stable } } @@ -70,7 +70,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } - - Classes [60] { + - Classes [62] { Interface [ interface MongoDB\BSON\Type ] { - Constants [0] { @@ -395,13 +395,14 @@ Extension [ extension #182 mongodb version 1.6.1 ] { Class [ final class MongoDB\BSON\Binary implements MongoDB\BSON\BinaryInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] { - - Constants [7] { + - Constants [8] { Constant [ public int TYPE_GENERIC ] { 0 } Constant [ public int TYPE_FUNCTION ] { 1 } Constant [ public int TYPE_OLD_BINARY ] { 2 } Constant [ public int TYPE_OLD_UUID ] { 3 } Constant [ public int TYPE_UUID ] { 4 } Constant [ public int TYPE_MD5 ] { 5 } + Constant [ public int TYPE_ENCRYPTED ] { 6 } Constant [ public int TYPE_USER_DEFINED ] { 128 } } @@ -1263,6 +1264,60 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } + Class [ final class MongoDB\Driver\ClientEncryption ] { + + - Constants [2] { + Constant [ public string AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC ] { AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic } + Constant [ public string AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM ] { AEAD_AES_256_CBC_HMAC_SHA_512-Random } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ final public method createDataKey ] { + + - Parameters [2] { + Parameter #0 [ $kmsProvider ] + Parameter #1 [ array or NULL $options ] + } + } + + Method [ final public method encrypt ] { + + - Parameters [2] { + Parameter #0 [ $value ] + Parameter #1 [ array or NULL $options ] + } + } + + Method [ final public method decrypt ] { + + - Parameters [1] { + Parameter #0 [ MongoDB\BSON\BinaryInterface $keyVaultClient ] + } + } + + Method [ final private method __construct ] { + + - Parameters [0] { + } + } + + Method [ final public method __wakeup ] { + + - Parameters [0] { + } + } + } + } + Class [ final class MongoDB\Driver\Command ] { - Constants [0] { @@ -1353,7 +1408,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } - Class [ final class MongoDB\Driver\CursorId ] { + Class [ final class MongoDB\Driver\CursorId implements Serializable ] { - Constants [0] { } @@ -1367,13 +1422,26 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [3] { + - Methods [5] { Method [ final public method __toString ] { - Parameters [0] { } } + Method [ final public method serialize ] { + + - Parameters [0] { + } + } + + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + Method [ final private method __construct ] { - Parameters [0] { @@ -1402,7 +1470,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [14] { + - Methods [15] { Method [ final public method __construct ] { - Parameters [3] { @@ -1412,6 +1480,13 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } + Method [ final public method createClientEncryption ] { + + - Parameters [1] { + Parameter #0 [ array $options ] + } + } + Method [ final public method executeCommand ] { - Parameters [3] { @@ -1543,7 +1618,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } - Class [ final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { - Constants [4] { Constant [ public string LOCAL ] { local } @@ -1567,7 +1642,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [4] { + - Methods [6] { Method [ final public method __construct ] { - Parameters [1] { @@ -1592,12 +1667,25 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Parameters [0] { } } + + Method [ final public method serialize ] { + + - Parameters [0] { + } + } + + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } } } - Class [ final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { - - Constants [7] { + - Constants [12] { Constant [ public int RP_PRIMARY ] { 1 } Constant [ public int RP_PRIMARY_PREFERRED ] { 5 } Constant [ public int RP_SECONDARY ] { 2 } @@ -1605,6 +1693,11 @@ Extension [ extension #182 mongodb version 1.6.1 ] { 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 } } - Static properties [0] { @@ -1622,7 +1715,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [5] { + - Methods [8] { Method [ final public method __construct ] { - Parameters [3] { @@ -1644,6 +1737,12 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } + Method [ final public method getModeString ] { + + - Parameters [0] { + } + } + Method [ final public method getTagSets ] { - Parameters [0] { @@ -1655,6 +1754,19 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Parameters [0] { } } + + Method [ final public method serialize ] { + + - Parameters [0] { + } + } + + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } } } @@ -1818,7 +1930,12 @@ Extension [ extension #182 mongodb version 1.6.1 ] { Class [ final class MongoDB\Driver\Session ] { - - Constants [0] { + - Constants [5] { + Constant [ public string TRANSACTION_NONE ] { none } + Constant [ public string TRANSACTION_STARTING ] { starting } + Constant [ public string TRANSACTION_IN_PROGRESS ] { in_progress } + Constant [ public string TRANSACTION_COMMITTED ] { committed } + Constant [ public string TRANSACTION_ABORTED ] { aborted } } - Static properties [0] { @@ -1830,7 +1947,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [13] { + - Methods [15] { Method [ final public method abortTransaction ] { - Parameters [0] { @@ -1887,6 +2004,18 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } + Method [ final public method getTransactionOptions ] { + + - Parameters [0] { + } + } + + Method [ final public method getTransactionState ] { + + - Parameters [0] { + } + } + Method [ final public method isInTransaction ] { - Parameters [0] { @@ -1914,7 +2043,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } - Class [ final class MongoDB\Driver\WriteConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\WriteConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type, Serializable ] { - Constants [1] { Constant [ public string MAJORITY ] { majority } @@ -1935,7 +2064,7 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Properties [0] { } - - Methods [6] { + - Methods [8] { Method [ final public method __construct ] { - Parameters [3] { @@ -1974,6 +2103,19 @@ Extension [ extension #182 mongodb version 1.6.1 ] { - Parameters [0] { } } + + Method [ final public method serialize ] { + + - Parameters [0] { + } + } + + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } } } @@ -2748,6 +2890,71 @@ Extension [ extension #182 mongodb version 1.6.1 ] { } } + Class [ class MongoDB\Driver\Exception\EncryptionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + Property [ protected $errorLabels ] + } + + - Methods [11] { + Method [ final public method hasErrorLabel ] { + + - Parameters [1] { + Parameter #0 [ $label ] + } + } + + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + Class [ final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\ServerException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { -- cgit