The MongoDB\BSON\Document class

はじめに

Represents a BSON document. This class is used when reading data as raw BSON and cannot be modified.

クラス概要

MongoDB\BSON\Document
final class MongoDB\BSON\Document implements MongoDB\BSON\Type, ArrayAccess, IteratorAggregate, Serializable {
/* メソッド */
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)
}

変更履歴

バージョン 説明
PECL mongodb 1.17.0 Implements MongoDB\BSON\Type.

目次