php8.5
Home/ Manual/ monitoring / commandfailedevent/ MongoDB\Driver\Monitoring\CommandFailedEvent::getReply

MongoDB\Driver\Monitoring\CommandFailedEvent::getReply

PHP function Edit on GitHub ✎

(mongodb >=1.5.0)

Returns the command reply document

Description

MongoDB\Driver\Monitoring\CommandFailedEvent::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 command reply document as a stdClass object.

Errors/Exceptions

See Also

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