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.