MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription

Returns the new description for the topology

Description

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

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.