Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\Driver\Monitoring\ServerChangedEvent::getPortMongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId>
^MongoDB\Driver\Monitoring\ServerChangedEventLast updated: Mon, 26 Oct 2026

MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription — Returns the previous description for the server

Description

final public function MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription(): MongoDB\Driver\ServerDescription

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions


<MongoDB\Driver\Monitoring\ServerChangedEvent::getPortMongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId>
^MongoDB\Driver\Monitoring\ServerChangedEventLast updated: Mon, 26 Oct 2026