php8.5
Home/ Manual/ monitoring / serverheartbeatsucceededevent/ MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply

MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply

PHP function Edit on GitHub ✎

(mongodb >=1.13.0)

Returns the heartbeat reply document

Description

MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getReply(): object

The reply document will be converted from BSON to PHP using the default deserialization rules (e.g. BSON documents will be converted to stdClass).

Parameters Parameters

Return Values

Returns the heartbeat reply document as a stdClass object.

Errors/Exceptions

See Also

Source: reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent/getreply.xml · from the official PHP manual (php/doc-en)