1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="MongoDB\Driver\ReadConcern" namespace="MongoDB\Driver" name="ReadConcern">
<implements name="MongoDB\BSON\Serializable" full="MongoDB\BSON\Serializable"/>
<constant name="AVAILABLE" value=""available"">
<docblock>
<var type="string"/>
</docblock>
</constant>
<constant name="LINEARIZABLE" value=""linearizable"">
<docblock>
<var type="string"/>
</docblock>
</constant>
<constant name="LOCAL" value=""local"">
<docblock>
<var type="string"/>
</docblock>
</constant>
<constant name="MAJORITY" value=""majority"">
<docblock>
<var type="string"/>
</docblock>
</constant>
<method name="bsonSerialize" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns an object for BSON serialization"/>
<return type="object"/>
</docblock>
</method>
<constructor name="__construct" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Create a new ReadConcern"/>
<return type="void"/>
</docblock>
<parameter name="level" optional="true" byreference="false" type="string"/>
</constructor>
<method name="getLevel" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns the ReadConcern's "level" option"/>
<return type="string|null"/>
</docblock>
</method>
<method name="isDefault" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Checks if this is the default read concern">Returns whether this is the default read concern (i.e. no options are specified). This method is primarily intended to be used in conjunction with MongoDB\Driver\Manager::getReadConcern to determine whether the Manager has been constructed without any read concern options.</description>
<return type="bool"/>
</docblock>
</method>
</class>
|