diff options
| -rw-r--r-- | REFLECTION | 344 | 
1 files changed, 305 insertions, 39 deletions
| @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #181 mongodb version 1.3.4 ] { +Extension [ <persistent> extension #182 mongodb version 1.4.0beta1 ] {    - Dependencies {      Dependency [ date (Required) ] @@ -14,8 +14,8 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {    }    - Constants [2] { -    Constant [ string MONGODB_VERSION ] { 1.3.4 } -    Constant [ string MONGODB_STABILITY ] { stable } +    Constant [ string MONGODB_VERSION ] { 1.4.0beta1 } +    Constant [ string MONGODB_STABILITY ] { beta }    }    - Functions { @@ -70,7 +70,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {      }    } -  - Classes [52] { +  - Classes [56] {      Interface [ <internal:mongodb> interface MongoDB\BSON\Type ] {        - Constants [0] { @@ -396,13 +396,13 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {      Class [ <internal:mongodb> final class MongoDB\BSON\Binary implements MongoDB\BSON\BinaryInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [7] { -        Constant [ integer TYPE_GENERIC ] { 0 } -        Constant [ integer TYPE_FUNCTION ] { 1 } -        Constant [ integer TYPE_OLD_BINARY ] { 2 } -        Constant [ integer TYPE_OLD_UUID ] { 3 } -        Constant [ integer TYPE_UUID ] { 4 } -        Constant [ integer TYPE_MD5 ] { 5 } -        Constant [ integer TYPE_USER_DEFINED ] { 128 } +        Constant [ public integer TYPE_GENERIC ] { 0 } +        Constant [ public integer TYPE_FUNCTION ] { 1 } +        Constant [ public integer TYPE_OLD_BINARY ] { 2 } +        Constant [ public integer TYPE_OLD_UUID ] { 3 } +        Constant [ public integer TYPE_UUID ] { 4 } +        Constant [ public integer TYPE_MD5 ] { 5 } +        Constant [ public integer TYPE_USER_DEFINED ] { 128 }        }        - Static properties [0] { @@ -468,6 +468,54 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        }      } +    Class [ <internal:mongodb> final class MongoDB\BSON\DBPointer implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [5] { +        Method [ <internal:mongodb> final public method __toString ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - 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] { +          } +        } +      } +    } +      Class [ <internal:mongodb> final class MongoDB\BSON\Decimal128 implements MongoDB\BSON\Decimal128Interface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] { @@ -834,6 +882,54 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        }      } +    Class [ <internal:mongodb> final class MongoDB\BSON\Symbol implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [5] { +        Method [ <internal:mongodb> final public method __toString ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - 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] { +          } +        } +      } +    } +      Class [ <internal:mongodb> final class MongoDB\BSON\Timestamp implements MongoDB\BSON\TimestampInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] { @@ -902,6 +998,54 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        }      } +    Class [ <internal:mongodb> final class MongoDB\BSON\Undefined implements JsonSerializable, MongoDB\BSON\Type, Serializable ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [5] { +        Method [ <internal:mongodb> final public method __toString ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb, prototype JsonSerializable> final public method jsonSerialize ] { + +          - 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] { +          } +        } +      } +    } +      Class [ <internal:mongodb> final class MongoDB\BSON\UTCDateTime implements MongoDB\BSON\UTCDateTimeInterface, JsonSerializable, MongoDB\BSON\Type, Serializable ] {        - Constants [0] { @@ -1162,7 +1306,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        - Properties [0] {        } -      - Methods [10] { +      - Methods [14] {          Method [ <internal:mongodb, ctor> final public method __construct ] {            - Parameters [3] { @@ -1177,7 +1321,34 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            - Parameters [3] {              Parameter #0 [ <required> $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference or NULL $readPreference ] +            Parameter #2 [ <optional> $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeReadCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> array $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeWriteCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> array $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeReadWriteCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> $options ]            }          } @@ -1186,7 +1357,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            - Parameters [3] {              Parameter #0 [ <required> $namespace ]              Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] -            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference or NULL $readPreference ] +            Parameter #2 [ <optional> $options ]            }          } @@ -1195,7 +1366,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            - Parameters [3] {              Parameter #0 [ <required> $namespace ]              Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] -            Parameter #2 [ <optional> MongoDB\Driver\WriteConcern or NULL $writeConcern ] +            Parameter #2 [ <optional> $options ]            }          } @@ -1230,6 +1401,13 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            }          } +        Method [ <internal:mongodb> final public method startSession ] { + +          - Parameters [1] { +            Parameter #0 [ <optional> array or NULL $options ] +          } +        } +          Method [ <internal:mongodb> final public method __wakeup ] {            - Parameters [0] { @@ -1272,9 +1450,9 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {      Class [ <internal:mongodb> final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] {        - Constants [3] { -        Constant [ string LOCAL ] { local } -        Constant [ string MAJORITY ] { majority } -        Constant [ string LINEARIZABLE ] { linearizable } +        Constant [ public string LOCAL ] { local } +        Constant [ public string MAJORITY ] { majority } +        Constant [ public string LINEARIZABLE ] { linearizable }        }        - Static properties [0] { @@ -1317,13 +1495,13 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {      Class [ <internal:mongodb> final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] {        - Constants [7] { -        Constant [ integer RP_PRIMARY ] { 1 } -        Constant [ integer RP_PRIMARY_PREFERRED ] { 5 } -        Constant [ integer RP_SECONDARY ] { 2 } -        Constant [ integer RP_SECONDARY_PREFERRED ] { 6 } -        Constant [ integer RP_NEAREST ] { 10 } -        Constant [ integer NO_MAX_STALENESS ] { -1 } -        Constant [ integer SMALLEST_MAX_STALENESS_SECONDS ] { 90 } +        Constant [ public integer RP_PRIMARY ] { 1 } +        Constant [ public integer RP_PRIMARY_PREFERRED ] { 5 } +        Constant [ public integer RP_SECONDARY ] { 2 } +        Constant [ public integer RP_SECONDARY_PREFERRED ] { 6 } +        Constant [ public integer RP_NEAREST ] { 10 } +        Constant [ public integer NO_MAX_STALENESS ] { -1 } +        Constant [ public integer SMALLEST_MAX_STALENESS_SECONDS ] { 90 }        }        - Static properties [0] { @@ -1374,15 +1552,15 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {      Class [ <internal:mongodb> final class MongoDB\Driver\Server ] {        - Constants [9] { -        Constant [ integer TYPE_UNKNOWN ] { 0 } -        Constant [ integer TYPE_STANDALONE ] { 1 } -        Constant [ integer TYPE_MONGOS ] { 2 } -        Constant [ integer TYPE_POSSIBLE_PRIMARY ] { 3 } -        Constant [ integer TYPE_RS_PRIMARY ] { 4 } -        Constant [ integer TYPE_RS_SECONDARY ] { 5 } -        Constant [ integer TYPE_RS_ARBITER ] { 6 } -        Constant [ integer TYPE_RS_OTHER ] { 7 } -        Constant [ integer TYPE_RS_GHOST ] { 8 } +        Constant [ public integer TYPE_UNKNOWN ] { 0 } +        Constant [ public integer TYPE_STANDALONE ] { 1 } +        Constant [ public integer TYPE_MONGOS ] { 2 } +        Constant [ public integer TYPE_POSSIBLE_PRIMARY ] { 3 } +        Constant [ public integer TYPE_RS_PRIMARY ] { 4 } +        Constant [ public integer TYPE_RS_SECONDARY ] { 5 } +        Constant [ public integer TYPE_RS_ARBITER ] { 6 } +        Constant [ public integer TYPE_RS_OTHER ] { 7 } +        Constant [ public integer TYPE_RS_GHOST ] { 8 }        }        - Static properties [0] { @@ -1394,13 +1572,40 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        - Properties [0] {        } -      - Methods [16] { +      - Methods [19] {          Method [ <internal:mongodb> final public method executeCommand ] {            - Parameters [3] {              Parameter #0 [ <required> $db ]              Parameter #1 [ <required> MongoDB\Driver\Command $command ] -            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference or NULL $readPreference ] +            Parameter #2 [ <optional> $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeReadCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> array $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeWriteCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> array $options ] +          } +        } + +        Method [ <internal:mongodb> final public method executeReadWriteCommand ] { + +          - Parameters [3] { +            Parameter #0 [ <required> $db ] +            Parameter #1 [ <required> MongoDB\Driver\Command $command ] +            Parameter #2 [ <optional> array $options ]            }          } @@ -1409,7 +1614,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            - Parameters [3] {              Parameter #0 [ <required> $namespace ]              Parameter #1 [ <required> MongoDB\Driver\Query $zquery ] -            Parameter #2 [ <optional> MongoDB\Driver\ReadPreference or NULL $readPreference ] +            Parameter #2 [ <optional> $options ]            }          } @@ -1418,7 +1623,7 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {            - Parameters [3] {              Parameter #0 [ <required> $namespace ]              Parameter #1 [ <required> MongoDB\Driver\BulkWrite $zbulk ] -            Parameter #2 [ <optional> MongoDB\Driver\WriteConcern or NULL $writeConcern ] +            Parameter #2 [ <optional> $options ]            }          } @@ -1502,10 +1707,71 @@ Extension [ <persistent> extension #181 mongodb version 1.3.4 ] {        }      } +    Class [ <internal:mongodb> final class MongoDB\Driver\Session ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [7] { +        Method [ <internal:mongodb> final public method advanceClusterTime ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $clusterTime ] +          } +        } + +        Method [ <internal:mongodb> final public method advanceOperationTime ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $timestamp ] +          } +        } + +        Method [ <internal:mongodb> final public method getClusterTime ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getLogicalSessionId ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mongodb> final public method getOperationTime ] { + +          - Parameters [0] { +          } +        } + +        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\WriteConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] {        - Constants [1] { -        Constant [ string MAJORITY ] { majority } +        Constant [ public string MAJORITY ] { majority }        }        - Static properties [0] { | 
