|
The MongoDB\BSON\Document classIntroductionRepresents a BSON document. This class is used when reading data as raw BSON and cannot be modified. Class synopsisMongoDB\BSON\Document
final
class MongoDB\BSON\Document
implements
MongoDB\BSON\Type, ArrayAccess, IteratorAggregate, Serializable {
/* Methods */
final private __construct()
final static public MongoDB\BSON\Document fromBSON(string
$bson )final static public MongoDB\BSON\Document fromJSON(string
$json )final static public MongoDB\BSON\Document fromPHP(objectarray
$value )final public mixed get(string
$key )final public MongoDB\BSON\Iterator getIterator()
final public bool has(string
$key )final public bool offsetExists(mixed
$key )final public mixed offsetGet(mixed
$key )final public void offsetSet(mixed
$key , mixed $value )final public void offsetUnset(mixed
$key )final public string serialize()
final public string toCanonicalExtendedJSON()
final public arrayobject toPHP(arraynull
$typeMap = null )final public string toRelaxedExtendedJSON()
final public string __toString()
final public void unserialize(string
}$data )Changelog
|