From 78ee87da658f1a5819d8b1ebdbc2cf67223a8c10 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Sep 2016 08:48:06 +0200 Subject: php-pecl-mongodb: 1.2.0alpha3 --- REFLECTION-DEV | 1594 ++++++++++++++++++++++++--------------------- php-pecl-mongodb-dev.spec | 31 +- 2 files changed, 882 insertions(+), 743 deletions(-) diff --git a/REFLECTION-DEV b/REFLECTION-DEV index b602e31..4711f10 100644 --- a/REFLECTION-DEV +++ b/REFLECTION-DEV @@ -1,4 +1,4 @@ -Extension [ extension #139 mongodb version 1.2.0alpha1 ] { +Extension [ extension #147 mongodb version 1.2.0alpha3 ] { - INI { Entry [ mongodb.debug ] @@ -6,10 +6,9 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - - Constants [3] { - Constant [ string MONGODB_VERSION ] { 1.2.0alpha1 } + - Constants [2] { + Constant [ string MONGODB_VERSION ] { 1.2.0alpha3 } Constant [ string MONGODB_STABILITY ] { alpha } - Constant [ string BSON_NAMESPACE ] { MongoDB\BSON } } - Functions { @@ -39,8 +38,8 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - - Classes [37] { - Class [ final class MongoDB\Driver\Command ] { + - Classes [38] { + Interface [ interface MongoDB\BSON\Type ] { - Constants [0] { } @@ -54,23 +53,58 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [2] { - Method [ final public method __construct ] { + - Methods [0] { + } + } - - Parameters [1] { - Parameter #0 [ $document ] + Interface [ interface MongoDB\BSON\Serializable extends MongoDB\BSON\Type ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method bsonSerialize ] { + + - Parameters [0] { } } + } + } - Method [ public method __wakeup ] { + Interface [ interface MongoDB\BSON\Unserializable ] { - - Parameters [0] { + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method bsonUnserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] } } } } - Class [ final class MongoDB\Driver\Cursor implements Traversable ] { + Interface [ interface MongoDB\BSON\Persistable extends MongoDB\BSON\Unserializable, MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { - Constants [0] { } @@ -84,45 +118,84 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [7] { - Method [ final private method __construct ] { + - Methods [2] { + Method [ abstract public method bsonUnserialize ] { + + - Parameters [1] { + Parameter #0 [ array $data ] + } + } + + Method [ abstract public method bsonSerialize ] { - Parameters [0] { } } + } + } - Method [ final public method setTypeMap ] { + Class [ final class MongoDB\BSON\Binary implements 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 } + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method __set_state ] { - Parameters [1] { - Parameter #0 [ array $typemap ] + Parameter #0 [ array $properties ] } } + } - Method [ final public method toArray ] { + - Properties [0] { + } - - Parameters [0] { + - Methods [6] { + Method [ final public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $type ] } } - Method [ final public method getId ] { + Method [ final public method __toString ] { - Parameters [0] { } } - Method [ final public method getServer ] { + Method [ final public method serialize ] { - Parameters [0] { } } - Method [ final public method isDead ] { + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } + + Method [ final public method getData ] { - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method getType ] { - Parameters [0] { } @@ -130,7 +203,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\CursorId ] { + Class [ final class MongoDB\BSON\Decimal128 implements MongoDB\BSON\Type, Serializable ] { - Constants [0] { } @@ -138,16 +211,23 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { } - - Methods [3] { - Method [ final private method __construct ] { + - Methods [4] { + Method [ final public method __construct ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $value ] } } @@ -157,15 +237,22 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Method [ public method __wakeup ] { + Method [ final public method serialize ] { - Parameters [0] { } } + + Method [ final public method unserialize ] { + + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } } } - Class [ final class MongoDB\Driver\Manager ] { + Class [ final class MongoDB\BSON\Javascript implements MongoDB\BSON\Type, Serializable ] { - Constants [0] { } @@ -173,81 +260,53 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { } - - Methods [10] { + - Methods [6] { Method [ final public method __construct ] { - - Parameters [3] { - Parameter #0 [ $uri ] - Parameter #1 [ array $options ] - Parameter #2 [ array $driverOptions ] - } - } - - Method [ final public method executeCommand ] { - - - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] - } - } - - Method [ final public method executeQuery ] { - - - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\Query $zquery ] - Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] - } - } - - Method [ final public method executeBulkWrite ] { - - - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ MongoDB\Driver\WriteConcern or NULL $writeConcern ] + - Parameters [2] { + Parameter #0 [ $javascript ] + Parameter #1 [ $scope ] } } - Method [ final public method getReadConcern ] { + Method [ final public method __toString ] { - Parameters [0] { } } - Method [ final public method getReadPreference ] { + Method [ final public method serialize ] { - Parameters [0] { } } - Method [ final public method getServers ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } - Method [ final public method getWriteConcern ] { + Method [ final public method getCode ] { - Parameters [0] { } } - Method [ final public method selectServer ] { - - - Parameters [1] { - Parameter #0 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] - } - } - - Method [ public method __wakeup ] { + Method [ final public method getScope ] { - Parameters [0] { } @@ -255,7 +314,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\Query ] { + Class [ final class MongoDB\BSON\MaxKey implements MongoDB\BSON\Type, Serializable ] { - Constants [0] { } @@ -263,247 +322,238 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { } - Methods [2] { - Method [ final public method __construct ] { + Method [ final public method serialize ] { - - Parameters [2] { - Parameter #0 [ $filter ] - Parameter #1 [ array $options ] + - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } } } - Class [ final class MongoDB\Driver\ReadConcern ] { + Class [ final class MongoDB\BSON\MinKey implements MongoDB\BSON\Type, Serializable ] { - - Constants [2] { - Constant [ string LOCAL ] { local } - Constant [ string MAJORITY ] { majority } + - Constants [0] { } - Static properties [0] { } - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [3] { - Method [ final public method __construct ] { + - Static methods [1] { + Method [ static public method __set_state ] { - Parameters [1] { - Parameter #0 [ $level ] + Parameter #0 [ array $properties ] } } + } - Method [ final public method getLevel ] { + - Properties [0] { + } + + - Methods [2] { + Method [ final public method serialize ] { - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } } } - Class [ final class MongoDB\Driver\ReadPreference ] { + Class [ final class MongoDB\BSON\ObjectID implements MongoDB\BSON\Type, Serializable ] { - - Constants [5] { - 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 } + - Constants [0] { } - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ final public method __construct ] { - - Parameters [2] { - Parameter #0 [ $mode ] - Parameter #1 [ array or NULL $tagSets ] + - Parameters [1] { + Parameter #0 [ $id ] } } - Method [ final public method getMode ] { + Method [ final public method getTimestamp ] { - Parameters [0] { } } - Method [ final public method getTagSets ] { + Method [ final public method __toString ] { - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method serialize ] { - Parameters [0] { } } - } - } - Class [ final class MongoDB\Driver\Server ] { + Method [ final public method unserialize ] { - - 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 } + - Parameters [1] { + Parameter #0 [ $serialized ] + } + } } + } - - Static properties [0] { - } + Class [ final class MongoDB\BSON\Regex implements MongoDB\BSON\Type, Serializable ] { - - Static methods [0] { + - Constants [0] { } - - Properties [0] { + - Static properties [0] { } - - Methods [16] { - Method [ final private method __construct ] { - - - Parameters [0] { - } - } - - Method [ final public method executeCommand ] { + - Static methods [1] { + Method [ static public method __set_state ] { - - Parameters [3] { - Parameter #0 [ $db ] - Parameter #1 [ MongoDB\Driver\Command $command ] - Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] + - Parameters [1] { + Parameter #0 [ array $properties ] } } + } - Method [ final public method executeQuery ] { - - - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\Query $zquery ] - Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] - } - } + - Properties [0] { + } - Method [ final public method executeBulkWrite ] { + - Methods [6] { + Method [ final public method __construct ] { - - Parameters [3] { - Parameter #0 [ $namespace ] - Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] - Parameter #2 [ MongoDB\Driver\WriteConcern or NULL $writeConcern ] + - Parameters [2] { + Parameter #0 [ $pattern ] + Parameter #1 [ $flags ] } } - Method [ final public method getHost ] { + Method [ final public method __toString ] { - Parameters [0] { } } - Method [ final public method getTags ] { + Method [ final public method serialize ] { - Parameters [0] { } } - Method [ final public method getInfo ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } - Method [ final public method getLatency ] { + Method [ final public method getPattern ] { - Parameters [0] { } } - Method [ final public method getPort ] { + Method [ final public method getFlags ] { - Parameters [0] { } } + } + } - Method [ final public method getType ] { - - - Parameters [0] { - } - } + Class [ final class MongoDB\BSON\Timestamp implements MongoDB\BSON\Type, Serializable ] { - Method [ final public method isPrimary ] { + - Constants [0] { + } - - Parameters [0] { - } - } + - Static properties [0] { + } - Method [ final public method isSecondary ] { + - Static methods [1] { + Method [ static public method __set_state ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $properties ] } } + } - Method [ final public method isArbiter ] { + - Properties [0] { + } - - Parameters [0] { + - Methods [4] { + Method [ final public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $increment ] + Parameter #1 [ $timestamp ] } } - Method [ final public method isHidden ] { + Method [ final public method __toString ] { - Parameters [0] { } } - Method [ final public method isPassive ] { + Method [ final public method serialize ] { - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } } } - Class [ final class MongoDB\Driver\BulkWrite implements Countable ] { + Class [ final class MongoDB\BSON\UTCDateTime implements MongoDB\BSON\Type, Serializable ] { - Constants [0] { } @@ -511,51 +561,46 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [1] { + Method [ static public method __set_state ] { + + - Parameters [1] { + Parameter #0 [ array $properties ] + } + } } - Properties [0] { } - - Methods [6] { + - Methods [5] { Method [ final public method __construct ] { - Parameters [1] { - Parameter #0 [ array or NULL $options ] - } - } - - Method [ final public method insert ] { - - - Parameters [1] { - Parameter #0 [ $document ] + Parameter #0 [ $milliseconds ] } } - Method [ final public method update ] { + Method [ final public method __toString ] { - - Parameters [3] { - Parameter #0 [ $query ] - Parameter #1 [ $newObj ] - Parameter #2 [ array or NULL $updateOptions ] + - Parameters [0] { } } - Method [ final public method delete ] { + Method [ final public method serialize ] { - - Parameters [2] { - Parameter #0 [ $query ] - Parameter #1 [ array or NULL $deleteOptions ] + - Parameters [0] { } } - Method [ final public method count ] { + Method [ final public method unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $serialized ] } } - Method [ public method __wakeup ] { + Method [ final public method toDateTime ] { - Parameters [0] { } @@ -563,10 +608,9 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\WriteConcern ] { + Class [ final class MongoDB\Driver\Command ] { - - Constants [1] { - Constant [ string MAJORITY ] { majority } + - Constants [0] { } - Static properties [0] { @@ -578,31 +622,11 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [5] { + - Methods [2] { Method [ final public method __construct ] { - - Parameters [3] { - Parameter #0 [ $w ] - Parameter #1 [ $wtimeout ] - Parameter #2 [ $journal ] - } - } - - Method [ final public method getW ] { - - - Parameters [0] { - } - } - - Method [ final public method getWtimeout ] { - - - Parameters [0] { - } - } - - Method [ final public method getJournal ] { - - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $document ] } } @@ -614,7 +638,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\WriteConcernError ] { + Class [ final class MongoDB\Driver\Cursor implements Traversable ] { - Constants [0] { } @@ -628,26 +652,39 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [5] { + - Methods [7] { Method [ final private method __construct ] { - Parameters [0] { } } - Method [ final public method getCode ] { + Method [ final public method setTypeMap ] { + + - Parameters [1] { + Parameter #0 [ array $typemap ] + } + } + + Method [ final public method toArray ] { - Parameters [0] { } } - Method [ final public method getInfo ] { + Method [ final public method getId ] { - Parameters [0] { } } - Method [ final public method getMessage ] { + Method [ final public method getServer ] { + + - Parameters [0] { + } + } + + Method [ final public method isDead ] { - Parameters [0] { } @@ -661,7 +698,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\WriteError ] { + Class [ final class MongoDB\Driver\CursorId ] { - Constants [0] { } @@ -675,32 +712,14 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [6] { + - Methods [3] { Method [ final private method __construct ] { - Parameters [0] { } } - Method [ final public method getCode ] { - - - Parameters [0] { - } - } - - Method [ final public method getIndex ] { - - - Parameters [0] { - } - } - - Method [ final public method getMessage ] { - - - Parameters [0] { - } - } - - Method [ final public method getInfo ] { + Method [ final public method __toString ] { - Parameters [0] { } @@ -714,7 +733,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\WriteResult ] { + Class [ final class MongoDB\Driver\Manager ] { - Constants [0] { } @@ -728,70 +747,102 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [12] { - Method [ final private method __construct ] { + - Methods [10] { + Method [ final public method __construct ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $uri ] + Parameter #1 [ array $options ] + Parameter #2 [ array $driverOptions ] } } - Method [ final public method getInsertedCount ] { + Method [ final public method executeCommand ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] } } - Method [ final public method getMatchedCount ] { + Method [ final public method executeQuery ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $namespace ] + Parameter #1 [ MongoDB\Driver\Query $zquery ] + Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] } } - Method [ final public method getModifiedCount ] { + Method [ final public method executeBulkWrite ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $namespace ] + Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] + Parameter #2 [ MongoDB\Driver\WriteConcern or NULL $writeConcern ] } } - Method [ final public method getDeletedCount ] { + Method [ final public method getReadConcern ] { - Parameters [0] { } } - Method [ final public method getUpsertedCount ] { + Method [ final public method getReadPreference ] { - Parameters [0] { } } - Method [ final public method getServer ] { + Method [ final public method getServers ] { - Parameters [0] { } } - Method [ final public method getUpsertedIds ] { + Method [ final public method getWriteConcern ] { - Parameters [0] { } } - Method [ final public method getWriteConcernError ] { + Method [ final public method selectServer ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] } } - Method [ final public method getWriteErrors ] { + Method [ public method __wakeup ] { - Parameters [0] { } } + } + } - Method [ final public method isAcknowledged ] { + Class [ final class MongoDB\Driver\Query ] { - - Parameters [0] { + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ final public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $filter ] + Parameter #1 [ array or NULL $options ] } } @@ -803,9 +854,12 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Interface [ interface MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { - - Constants [0] { + - Constants [3] { + Constant [ string LOCAL ] { local } + Constant [ string MAJORITY ] { majority } + Constant [ string LINEARIZABLE ] { linearizable } } - Static properties [0] { @@ -817,13 +871,36 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Properties [0] { } - - Methods [0] { + - Methods [3] { + Method [ final public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $level ] + } + } + + Method [ final public method getLevel ] { + + - Parameters [0] { + } + } + + Method [ final public method bsonSerialize ] { + + - Parameters [0] { + } + } } } - Class [ class MongoDB\Driver\Exception\LogicException extends LogicException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { - - Constants [0] { + - Constants [5] { + 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 } } - Static properties [0] { @@ -832,55 +909,57 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [5] { + Method [ final public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ $mode ] + Parameter #1 [ array or NULL $tagSets ] + Parameter #2 [ array or NULL $options ] } } - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } + Method [ final public method getMaxStalenessMS ] { - Method [ final public method getCode ] { + - Parameters [0] { + } } - Method [ final public method getFile ] { - } + Method [ final public method getMode ] { - Method [ final public method getLine ] { + - Parameters [0] { + } } - Method [ final public method getTrace ] { - } + Method [ final public method getTagSets ] { - Method [ final public method getPrevious ] { + - Parameters [0] { + } } - Method [ final public method getTraceAsString ] { - } + Method [ final public method bsonSerialize ] { - Method [ public method __toString ] { + - Parameters [0] { + } } } } - Class [ class MongoDB\Driver\Exception\RuntimeException extends RuntimeException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\Server ] { - - Constants [0] { + - 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 } } - Static properties [0] { @@ -889,110 +968,118 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [16] { + Method [ final private method __construct ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [0] { } } - Method [ public method __wakeup ] { - } + Method [ final public method executeCommand ] { - Method [ final public method getMessage ] { + - Parameters [3] { + Parameter #0 [ $db ] + Parameter #1 [ MongoDB\Driver\Command $command ] + Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] + } } - Method [ final public method getCode ] { - } + Method [ final public method executeQuery ] { - Method [ final public method getFile ] { + - Parameters [3] { + Parameter #0 [ $namespace ] + Parameter #1 [ MongoDB\Driver\Query $zquery ] + Parameter #2 [ MongoDB\Driver\ReadPreference or NULL $readPreference ] + } } - Method [ final public method getLine ] { - } + Method [ final public method executeBulkWrite ] { - Method [ final public method getTrace ] { + - Parameters [3] { + Parameter #0 [ $namespace ] + Parameter #1 [ MongoDB\Driver\BulkWrite $zbulk ] + Parameter #2 [ MongoDB\Driver\WriteConcern or NULL $writeConcern ] + } } - Method [ final public method getPrevious ] { - } + Method [ final public method getHost ] { - Method [ final public method getTraceAsString ] { + - Parameters [0] { + } } - Method [ public method __toString ] { - } - } - } + Method [ final public method getTags ] { - Class [ class MongoDB\Driver\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, MongoDB\Driver\Exception\Exception ] { + - Parameters [0] { + } + } - - Constants [0] { - } + Method [ final public method getInfo ] { - - Static properties [0] { - } + - Parameters [0] { + } + } - - Static methods [0] { - } + Method [ final public method getLatency ] { - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - } + - Parameters [0] { + } + } - - Methods [10] { - Method [ public method __construct ] { + Method [ final public method getPort ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [0] { } } - Method [ public method __wakeup ] { - } + Method [ final public method getType ] { - Method [ final public method getMessage ] { + - Parameters [0] { + } } - Method [ final public method getCode ] { - } + Method [ final public method isPrimary ] { - Method [ final public method getFile ] { + - Parameters [0] { + } } - Method [ final public method getLine ] { + Method [ final public method isSecondary ] { + + - Parameters [0] { + } } - Method [ final public method getTrace ] { + Method [ final public method isArbiter ] { + + - Parameters [0] { + } } - Method [ final public method getPrevious ] { + Method [ final public method isHidden ] { + + - Parameters [0] { + } } - Method [ final public method getTraceAsString ] { + Method [ final public method isPassive ] { + + - Parameters [0] { + } } - Method [ public method __toString ] { + Method [ public method __wakeup ] { + + - Parameters [0] { + } } } } - Class [ class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\BulkWrite implements Countable ] { - Constants [0] { } @@ -1003,55 +1090,59 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [6] { + Method [ final public method __construct ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [1] { + Parameter #0 [ array or NULL $options ] } } - Method [ public method __wakeup ] { - } + Method [ final public method insert ] { - Method [ final public method getMessage ] { + - Parameters [1] { + Parameter #0 [ $document ] + } } - Method [ final public method getCode ] { - } + Method [ final public method update ] { - Method [ final public method getFile ] { + - Parameters [3] { + Parameter #0 [ $query ] + Parameter #1 [ $newObj ] + Parameter #2 [ array or NULL $updateOptions ] + } } - Method [ final public method getLine ] { - } + Method [ final public method delete ] { - Method [ final public method getTrace ] { + - Parameters [2] { + Parameter #0 [ $query ] + Parameter #1 [ array or NULL $deleteOptions ] + } } - Method [ final public method getPrevious ] { - } + Method [ final public method count ] { - Method [ final public method getTraceAsString ] { + - Parameters [0] { + } } - Method [ public method __toString ] { + Method [ public method __wakeup ] { + + - Parameters [0] { + } } } } - Class [ class MongoDB\Driver\Exception\ConnectionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { + Class [ final class MongoDB\Driver\WriteConcern implements MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { - - Constants [0] { + - Constants [1] { + Constant [ string MAJORITY ] { majority } } - Static properties [0] { @@ -1060,53 +1151,46 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [5] { + Method [ final public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ $w ] + Parameter #1 [ $wtimeout ] + Parameter #2 [ $journal ] } } - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } + Method [ final public method getW ] { - Method [ final public method getCode ] { + - Parameters [0] { + } } - Method [ final public method getFile ] { - } + Method [ final public method getWtimeout ] { - Method [ final public method getLine ] { + - Parameters [0] { + } } - Method [ final public method getTrace ] { - } + Method [ final public method getJournal ] { - Method [ final public method getPrevious ] { + - Parameters [0] { + } } - Method [ final public method getTraceAsString ] { - } + Method [ final public method bsonSerialize ] { - Method [ public method __toString ] { + - Parameters [0] { + } } } } - Class [ class MongoDB\Driver\Exception\AuthenticationException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\WriteConcernError ] { - Constants [0] { } @@ -1117,53 +1201,43 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [5] { + Method [ final private method __construct ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [0] { } } - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } + Method [ final public method getCode ] { - Method [ final public method getCode ] { + - Parameters [0] { + } } - Method [ final public method getFile ] { - } + Method [ final public method getInfo ] { - Method [ final public method getLine ] { + - Parameters [0] { + } } - Method [ final public method getTrace ] { - } + Method [ final public method getMessage ] { - Method [ final public method getPrevious ] { + - Parameters [0] { + } } - Method [ final public method getTraceAsString ] { - } + Method [ public method __wakeup ] { - Method [ public method __toString ] { + - Parameters [0] { + } } } } - Class [ final class MongoDB\Driver\Exception\SSLConnectionException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ final class MongoDB\Driver\WriteError ] { - Constants [0] { } @@ -1174,53 +1248,49 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + - Properties [0] { } - - Methods [10] { - Method [ public method __construct ] { + - Methods [6] { + Method [ final private method __construct ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [0] { } } - Method [ public method __wakeup ] { - } + Method [ final public method getCode ] { - Method [ final public method getMessage ] { + - Parameters [0] { + } } - Method [ final public method getCode ] { - } + Method [ final public method getIndex ] { - Method [ final public method getFile ] { + - Parameters [0] { + } } - Method [ final public method getLine ] { - } + Method [ final public method getMessage ] { - Method [ final public method getTrace ] { + - Parameters [0] { + } } - Method [ final public method getPrevious ] { - } + Method [ final public method getInfo ] { - Method [ final public method getTraceAsString ] { + - Parameters [0] { + } } - Method [ public method __toString ] { + Method [ public method __wakeup ] { + + - Parameters [0] { + } } } } - Class [ abstract class MongoDB\Driver\Exception\WriteException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { + Class [ final class MongoDB\Driver\WriteResult ] { - Constants [0] { } @@ -1231,60 +1301,85 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [5] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $writeResult ] + - Properties [0] { } - - Methods [11] { - Method [ final public method getWriteResult ] { + - Methods [12] { + Method [ final private method __construct ] { - Parameters [0] { } } - Method [ public method __construct ] { + Method [ final public method getInsertedCount ] { - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + - Parameters [0] { } } - Method [ public method __wakeup ] { + Method [ final public method getMatchedCount ] { + + - Parameters [0] { + } } - Method [ final public method getMessage ] { + Method [ final public method getModifiedCount ] { + + - Parameters [0] { + } } - Method [ final public method getCode ] { + Method [ final public method getDeletedCount ] { + + - Parameters [0] { + } } - Method [ final public method getFile ] { + Method [ final public method getUpsertedCount ] { + + - Parameters [0] { + } } - Method [ final public method getLine ] { + Method [ final public method getServer ] { + + - Parameters [0] { + } } - Method [ final public method getTrace ] { + Method [ final public method getUpsertedIds ] { + + - Parameters [0] { + } } - Method [ final public method getPrevious ] { + Method [ final public method getWriteConcernError ] { + + - Parameters [0] { + } } - Method [ final public method getTraceAsString ] { + Method [ final public method getWriteErrors ] { + + - Parameters [0] { + } } - Method [ public method __toString ] { + Method [ final public method isAcknowledged ] { + + - Parameters [0] { + } + } + + Method [ public method __wakeup ] { + + - Parameters [0] { + } } } } - Class [ class MongoDB\Driver\Exception\BulkWriteException extends MongoDB\Driver\Exception\WriteException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Interface [ interface MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1295,21 +1390,32 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [5] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - Property [ protected $writeResult ] + - Properties [0] { } - - Methods [11] { - Method [ final public method getWriteResult ] { + - Methods [0] { + } + } - - Parameters [0] { - } - } + Class [ class MongoDB\Driver\Exception\LogicException extends LogicException implements Throwable, MongoDB\Driver\Exception\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { Method [ public method __construct ] { - Parameters [3] { @@ -1348,7 +1454,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { + Class [ class MongoDB\Driver\Exception\RuntimeException extends RuntimeException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1405,7 +1511,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Class [ final class MongoDB\Driver\Exception\ConnectionTimeoutException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { + Class [ class MongoDB\Driver\Exception\UnexpectedValueException extends UnexpectedValueException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1462,7 +1568,7 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { } } - Interface [ interface MongoDB\BSON\Type ] { + Class [ class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1473,37 +1579,53 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [0] { - } - } + - Methods [10] { + Method [ public method __construct ] { - Interface [ interface MongoDB\BSON\Serializable extends MongoDB\BSON\Type ] { + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } - - Constants [0] { - } + Method [ public method __wakeup ] { + } - - Static properties [0] { - } + Method [ final public method getMessage ] { + } - - Static methods [0] { - } + Method [ final public method getCode ] { + } - - Properties [0] { - } + Method [ final public method getFile ] { + } - - Methods [1] { - Method [ abstract public method bsonSerialize ] { + Method [ final public method getLine ] { + } - - Parameters [0] { - } + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { } } } - Interface [ interface MongoDB\BSON\Unserializable ] { + Class [ class MongoDB\Driver\Exception\ConnectionException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { - Constants [0] { } @@ -1514,112 +1636,110 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [1] { - Method [ abstract public method bsonUnserialize ] { + - Methods [10] { + Method [ public method __construct ] { - - Parameters [1] { - Parameter #0 [ array $data ] + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - } - } - Interface [ interface MongoDB\BSON\Persistable extends MongoDB\BSON\Unserializable, MongoDB\BSON\Serializable, MongoDB\BSON\Type ] { + Method [ public method __wakeup ] { + } - - Constants [0] { - } + Method [ final public method getMessage ] { + } - - Static properties [0] { - } + Method [ final public method getCode ] { + } - - Static methods [0] { - } + Method [ final public method getFile ] { + } - - Properties [0] { - } + Method [ final public method getLine ] { + } - - Methods [2] { - Method [ abstract public method bsonUnserialize ] { + Method [ final public method getTrace ] { + } - - Parameters [1] { - Parameter #0 [ array $data ] - } + Method [ final public method getPrevious ] { } - Method [ abstract public method bsonSerialize ] { + Method [ final public method getTraceAsString ] { + } - - Parameters [0] { - } + Method [ public method __toString ] { } } } - Class [ final class MongoDB\BSON\Binary implements MongoDB\BSON\Type ] { + Class [ class MongoDB\Driver\Exception\AuthenticationException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { - - 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 } + - Constants [0] { } - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [5] { - Method [ final public method __construct ] { + - Methods [10] { + Method [ public method __construct ] { - - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $type ] + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ final public method __toString ] { + Method [ public method __wakeup ] { + } - - Parameters [0] { - } + Method [ final public method getMessage ] { } - Method [ public method __wakeup ] { + Method [ final public method getCode ] { + } - - Parameters [0] { - } + Method [ final public method getFile ] { } - Method [ final public method getData ] { + Method [ final public method getLine ] { + } - - Parameters [0] { - } + Method [ final public method getTrace ] { } - Method [ final public method getType ] { + Method [ final public method getPrevious ] { + } - - Parameters [0] { - } + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { } } } - Class [ final class MongoDB\BSON\Javascript implements MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\Exception\SSLConnectionException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1627,83 +1747,56 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [5] { - Method [ final public method __construct ] { + - Methods [10] { + Method [ public method __construct ] { - - Parameters [2] { - Parameter #0 [ $javascript ] - Parameter #1 [ $scope ] + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ final public method __toString ] { - - - Parameters [0] { - } + Method [ public method __wakeup ] { } - Method [ public method __wakeup ] { - - - Parameters [0] { - } + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { - - - Parameters [0] { - } + Method [ final public method getCode ] { } - Method [ final public method getScope ] { - - - Parameters [0] { - } + Method [ final public method getFile ] { } - } - } - - Class [ final class MongoDB\BSON\MaxKey implements MongoDB\BSON\Type ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - Static methods [1] { - Method [ static public method __set_state ] { + Method [ final public method getLine ] { + } - - Parameters [1] { - Parameter #0 [ array $properties ] - } + Method [ final public method getTrace ] { } - } - - Properties [0] { - } + Method [ final public method getPrevious ] { + } - - Methods [1] { - Method [ public method __wakeup ] { + Method [ final public method getTraceAsString ] { + } - - Parameters [0] { - } + Method [ public method __toString ] { } } } - Class [ final class MongoDB\BSON\MinKey implements MongoDB\BSON\Type ] { + Class [ abstract class MongoDB\Driver\Exception\WriteException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { - Constants [0] { } @@ -1711,70 +1804,63 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [5] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + Property [ protected $writeResult ] } - - Methods [1] { - Method [ public method __wakeup ] { + - Methods [11] { + Method [ final public method getWriteResult ] { - Parameters [0] { } } - } - } - Class [ final class MongoDB\BSON\ObjectID implements MongoDB\BSON\Type ] { - - - Constants [0] { - } + Method [ public method __construct ] { - - Static properties [0] { - } + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } - - Static methods [1] { - Method [ static public method __set_state ] { + Method [ public method __wakeup ] { + } - - Parameters [1] { - Parameter #0 [ array $properties ] - } + Method [ final public method getMessage ] { } - } - - Properties [0] { - } + Method [ final public method getCode ] { + } - - Methods [3] { - Method [ final public method __construct ] { + Method [ final public method getFile ] { + } - - Parameters [1] { - Parameter #0 [ $id ] - } + Method [ final public method getLine ] { } - Method [ final public method __toString ] { + Method [ final public method getTrace ] { + } - - Parameters [0] { - } + Method [ final public method getPrevious ] { } - Method [ public method __wakeup ] { + Method [ final public method getTraceAsString ] { + } - - Parameters [0] { - } + Method [ public method __toString ] { } } } - Class [ final class MongoDB\BSON\Regex implements MongoDB\BSON\Type ] { + Class [ class MongoDB\Driver\Exception\BulkWriteException extends MongoDB\Driver\Exception\WriteException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1782,54 +1868,63 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [5] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + Property [ protected $writeResult ] } - - Methods [5] { - Method [ final public method __construct ] { + - Methods [11] { + Method [ final public method getWriteResult ] { - - Parameters [2] { - Parameter #0 [ $pattern ] - Parameter #1 [ $flags ] + - Parameters [0] { } } - Method [ final public method __toString ] { + Method [ public method __construct ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ public method __wakeup ] { + Method [ public method __wakeup ] { + } - - Parameters [0] { - } + Method [ final public method getMessage ] { } - Method [ final public method getPattern ] { + Method [ final public method getCode ] { + } - - Parameters [0] { - } + Method [ final public method getFile ] { } - Method [ final public method getFlags ] { + Method [ final public method getLine ] { + } - - Parameters [0] { - } + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { } } } - Class [ final class MongoDB\BSON\Timestamp implements MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\Exception\ExecutionTimeoutException extends MongoDB\Driver\Exception\RuntimeException implements MongoDB\Driver\Exception\Exception, Throwable ] { - Constants [0] { } @@ -1837,42 +1932,56 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [3] { - Method [ final public method __construct ] { + - Methods [10] { + Method [ public method __construct ] { - - Parameters [2] { - Parameter #0 [ $increment ] - Parameter #1 [ $timestamp ] + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ final public method __toString ] { + Method [ public method __wakeup ] { + } - - Parameters [0] { - } + Method [ final public method getMessage ] { } - Method [ public method __wakeup ] { + Method [ final public method getCode ] { + } - - Parameters [0] { - } + 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\BSON\UTCDateTime implements MongoDB\BSON\Type ] { + Class [ final class MongoDB\Driver\Exception\ConnectionTimeoutException extends MongoDB\Driver\Exception\ConnectionException implements Throwable, MongoDB\Driver\Exception\Exception ] { - Constants [0] { } @@ -1880,42 +1989,51 @@ Extension [ extension #139 mongodb version 1.2.0alpha1 ] { - Static properties [0] { } - - Static methods [1] { - Method [ static public method __set_state ] { - - - Parameters [1] { - Parameter #0 [ array $properties ] - } - } + - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] } - - Methods [4] { - Method [ final public method __construct ] { + - Methods [10] { + Method [ public method __construct ] { - - Parameters [1] { - Parameter #0 [ $milliseconds ] + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] } } - Method [ final public method __toString ] { + Method [ public method __wakeup ] { + } - - Parameters [0] { - } + Method [ final public method getMessage ] { } - Method [ public method __wakeup ] { + Method [ final public method getCode ] { + } - - Parameters [0] { - } + Method [ final public method getFile ] { } - Method [ final public method toDateTime ] { + Method [ final public method getLine ] { + } - - Parameters [0] { - } + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { } } } diff --git a/php-pecl-mongodb-dev.spec b/php-pecl-mongodb-dev.spec index 0b0032c..1576895 100644 --- a/php-pecl-mongodb-dev.spec +++ b/php-pecl-mongodb-dev.spec @@ -25,7 +25,7 @@ # After 40-smbclient.ini, see https://jira.mongodb.org/browse/PHPC-658 %global ini_name 50-%{pecl_name}.ini %endif -%global prever alpha1 +%global prever alpha3 %ifarch x86_64 %global with_tests 0%{?_with_tests:1} @@ -36,10 +36,16 @@ %global with_tests 0%{?_with_tests:1} %endif +%if 0%{?fedora} > 99 +%global with_syslib 1 +%else +%global with_syslib 0 +%endif + Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.2.0 -Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -52,8 +58,10 @@ BuildRequires: %{?scl_prefix}php-devel > 5.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: cyrus-sasl-devel BuildRequires: openssl-devel -BuildRequires: pkgconfig(libbson-1.0) >= 1.4 -BuildRequires: pkgconfig(libmongoc-1.0) >= 1.4 +%if %{with_syslib} +BuildRequires: pkgconfig(libbson-1.0) >= 1.5 +BuildRequires: pkgconfig(libmongoc-1.0) >= 1.5 +%endif %if %{with_tests} BuildRequires: mongodb-server %endif @@ -119,7 +127,9 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%if %{with_syslib} %patch0 -p0 -b .rpm +%endif # Sanity check, really often broken extver=$(sed -n '/#define MONGODB_VERSION_S/{s/.* "//;s/".*$//;p}' php_phongo.h) @@ -148,6 +158,7 @@ EOF peclbuild() { %{_bindir}/${1}ize +%if %{with_syslib} # Ensure we use system library # Need to be removed only after phpize because of m4_include rm -r src/libbson @@ -159,6 +170,13 @@ peclbuild() { --with-libmongoc \ --enable-mongodb +%else + + %configure \ + --with-php-config=%{_bindir}/${1}-config \ + --enable-mongodb +%endif + make %{?_smp_mflags} } @@ -249,7 +267,6 @@ if [ -s server.pid ] ; then %if "%{mongo_version}" < "3.4" ### With mongodb 3.2 rm ?TS/tests/manager/manager-debug-001.phpt - rm ?TS/tests/manager/manager-debug-003.phpt rm ?TS/tests/manager/manager-executequery-without-assignment.phpt rm ?TS/tests/standalone/bug0487-002.phpt rm ?TS/tests/standalone/bug0655.phpt @@ -313,6 +330,10 @@ exit $ret %changelog +* Wed Sep 28 2016 Remi Collet - 1.2.0-0.2.alpha3 +- update to 1.2.0alpha3 +- use bundled libbson and libmongoc + * Mon Aug 8 2016 Remi Collet - 1.2.0-0.1.alpha1 - update to 1.2.0alpha1 - open https://jira.mongodb.org/browse/PHPC-762 missing symbols -- cgit