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