Php/docs/class.mongodb-bson-serializable

提供:Dev Guides
< Php
2020年12月14日 (月) 09:43時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(mongodb >=1.0.0)

はじめに

Classes that implement this interface may return data to be serialized as a BSON array or document in lieu of the object's public properties.


インターフェイス概要


MongoDB\BSON\Serializable implements MongoDB\BSON\Type {

/* メソッド */

abstract public bsonSerialize ( ) : array|object

}

目次