Please wait while we load your page...
 

Announcements

PHP Manual :: The MongoDB\BSON\Serializable interface



MongoDB\BSON\Persistable || MongoDB\BSON\Serializable::bsonSerialize || MongoDB\Driver\BSON || PHP Manual

(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 array|object bsonSerialize ( void )
}


MongoDB\BSON\Persistable || MongoDB\BSON\Serializable::bsonSerialize || MongoDB\Driver\BSON || PHP Manual
Live Chat Not Available