The MongoDB\Driver\Monitoring\TopologyChangedEvent class
(mongodb >=1.13.0)
Introduction
The MongoDB\Driver\Monitoring\TopologyChangedEvent class encapsulates information about a changed topology description.
Class synopsis
Table of Contents
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getNewDescription — Returns the new description for the topology
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getPreviousDescription — Returns the previous description for the topology
- MongoDB\Driver\Monitoring\TopologyChangedEvent::getTopologyId — Returns the topology ID