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\TopologyChangedEventMongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription>
^MongoDB\Driver\Monitoring\TopologyChangedEventLast updated: Mon, 26 Oct 2026

MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription — Returns the new description for the topology

Description

final public function MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription(): MongoDB\Driver\TopologyDescription

Parameters

This function has no parameters.

Return Values

Returns the new MongoDB\Driver\TopologyDescription for the topology.

Errors/Exceptions


<MongoDB\Driver\Monitoring\TopologyChangedEventMongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription>
^MongoDB\Driver\Monitoring\TopologyChangedEventLast updated: Mon, 26 Oct 2026