« MongoDB\BSON\Document::__construct
MongoDB\BSON\Document::fromJSON »

MongoDB\BSON\Document::fromBSON

(mongodb >=1.16.0)

MongoDB\BSON\Document::fromBSON — Construct a new document instance from a BSON string

説明

final static public function MongoDB\BSON\Document::fromBSON(string $bson): MongoDB\BSON\Document

パラメータ

bson (string)

A string containing a document in BSON format.

戻り値

Returns a new MongoDB\BSON\Document instance.

エラー / 例外

参考

関連キーワード:
MongoDB   Document   document   instance   Construct   fromBSON   bson   fromJSON   Throws   Driver   Exception   construct   mongodb   final   static   containing   format   InvalidArgumentException   argument   parsing   errors   UnexpectedValueException   invalid   contains   more
関連する関数・ページ:
mongodb-bson-document.fromjson   mongodb-bson-document.fromphp   mongodb-bson-document.construct   mongodb-bson-document.get   class.mongodb-bson-document   mongodb-bson-document.offsetget