Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [The MongoDB\BSON\Serializable interface]

Protect Your Website Today

PHP Manual || MongoDB\BSON

(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 {
/* Methods */
abstract public bsonSerialize ( void ) : array|object

PHP Manual || MongoDB\BSON