diff options
| author | Remi Collet <remi@remirepo.net> | 2020-02-04 17:20:49 +0100 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2020-02-04 17:20:49 +0100 | 
| commit | 501053e2de2a1f7a1ba87cd899a978a7316b3e48 (patch) | |
| tree | efe555dbda34d6b8e74656504674b84e701634ec /REFLECTION | |
| parent | 223c009e4fa800a1c94d18e224dfc91fa20c3715 (diff) | |
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
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 239 | 
1 files changed, 223 insertions, 16 deletions
| @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #182 mongodb version 1.6.1 ] { +Extension [ <persistent> extension #106 mongodb version 1.7.0 ] {    - Dependencies {      Dependency [ date (Required) ] @@ -14,7 +14,7 @@ Extension [ <persistent> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {      }    } -  - Classes [60] { +  - Classes [62] {      Interface [ <internal:mongodb> interface MongoDB\BSON\Type ] {        - Constants [0] { @@ -395,13 +395,14 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {      Class [ <internal:mongodb> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {        }      } +    Class [ <internal:mongodb> 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 [ <internal:mongodb> final public method createDataKey ] { + +          - Parameters [2] { +            Parameter #0 [ <required> $kmsProvider ] +            Parameter #1 [ <optional> array or NULL $options ] +          } +        } + +        Method [ <internal:mongodb> final public method encrypt ] { + +          - Parameters [2] { +            Parameter #0 [ <required> $value ] +            Parameter #1 [ <optional> array or NULL $options ] +          } +        } + +        Method [ <internal:mongodb> final public method decrypt ] { + +          - Parameters [1] { +            Parameter #0 [ <required> MongoDB\BSON\BinaryInterface $keyVaultClient ] +          } +        } + +        Method [ <internal:mongodb, ctor> final private method __construct ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method __wakeup ] { + +          - Parameters [0] { +          } +        } +      } +    } +      Class [ <internal:mongodb> final class MongoDB\Driver\Command ] {        - Constants [0] { @@ -1353,7 +1408,7 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\CursorId ] { +    Class [ <internal:mongodb> final class MongoDB\Driver\CursorId implements Serializable ] {        - Constants [0] {        } @@ -1367,13 +1422,26 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [3] { +      - Methods [5] {          Method [ <internal:mongodb> final public method __toString ] {            - Parameters [0] {            }          } +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $serialized ] +          } +        } +          Method [ <internal:mongodb, ctor> final private method __construct ] {            - Parameters [0] { @@ -1402,7 +1470,7 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [14] { +      - Methods [15] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { @@ -1412,6 +1480,13 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            }          } +        Method [ <internal:mongodb> final public method createClientEncryption ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $options ] +          } +        } +          Method [ <internal:mongodb> final public method executeCommand ] {            - Parameters [3] { @@ -1543,7 +1618,7 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { +    Class [ <internal:mongodb> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [4] { +      - Methods [6] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [1] { @@ -1592,12 +1667,25 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            - Parameters [0] {            }          } + +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $serialized ] +          } +        }        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { +    Class [ <internal:mongodb> 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 [ <persistent> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [5] { +      - Methods [8] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { @@ -1644,6 +1737,12 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            }          } +        Method [ <internal:mongodb> final public method getModeString ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mongodb> final public method getTagSets ] {            - Parameters [0] { @@ -1655,6 +1754,19 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            - Parameters [0] {            }          } + +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $serialized ] +          } +        }        }      } @@ -1818,7 +1930,12 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {      Class [ <internal:mongodb> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [13] { +      - Methods [15] {          Method [ <internal:mongodb> final public method abortTransaction ] {            - Parameters [0] { @@ -1887,6 +2004,18 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            }          } +        Method [ <internal:mongodb> final public method getTransactionOptions ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getTransactionState ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mongodb> final public method isInTransaction ] {            - Parameters [0] { @@ -1914,7 +2043,7 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        }      } -    Class [ <internal:mongodb> final class MongoDB\Driver\WriteConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { +    Class [ <internal:mongodb> 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 [ <persistent> extension #182 mongodb version 1.6.1 ] {        - Properties [0] {        } -      - Methods [6] { +      - Methods [8] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { @@ -1974,6 +2103,19 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {            - Parameters [0] {            }          } + +        Method [ <internal:mongodb, prototype Serializable> final public method serialize ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype Serializable> final public method unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $serialized ] +          } +        }        }      } @@ -2748,6 +2890,71 @@ Extension [ <persistent> extension #182 mongodb version 1.6.1 ] {        }      } +    Class [ <internal:mongodb> 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 [ <default> protected $message ] +        Property [ <default> protected $code ] +        Property [ <default> protected $file ] +        Property [ <default> protected $line ] +        Property [ <default> protected $errorLabels ] +      } + +      - Methods [11] { +        Method [ <internal:mongodb, inherits MongoDB\Driver\Exception\RuntimeException> final public method hasErrorLabel ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $label ] +          } +        } + +        Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + +          - Parameters [3] { +            Parameter #0 [ <optional> $message ] +            Parameter #1 [ <optional> $code ] +            Parameter #2 [ <optional> $previous ] +          } +        } + +        Method [ <internal:Core, inherits Exception> public method __wakeup ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { +        } + +        Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { +        } +      } +    } +      Class [ <internal:mongodb> final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\ServerException implements Throwable, MongoDB\Driver\Exception\Exception ] {        - Constants [0] { | 
