PHP 8.4.2 Released!

MongoDB\Driver\ServerApi::bsonSerialize

(mongodb >=1.10.0)

MongoDB\Driver\ServerApi::bsonSerializeReturns an object for BSON serialization

Description

final public MongoDB\Driver\ServerApi::bsonSerialize(): stdClass

Parameters

This function has no parameters.

Return Values

Returns an object for serializing the ServerApi as BSON.

Errors/Exceptions

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top