php8.5
Home/ Manual/ monitoring / serverchangedevent/ MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription

MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription

PHP function Edit on GitHub ✎

(mongodb >=1.13.0)

Returns the previous description for the server

Description

MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription(): MongoDB\Driver\ServerDescription

Parameters Parameters

Return Values

Returns the previous MongoDB\Driver\ServerDescription for the server.

Errors/Exceptions

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