(mongodb >=1.13.0)
A classe MongoDB\Driver\TopologyDescription é um objeto de valor que representa uma topologia à qual o driver está conectado. As instâncias desta classe são retornadas pelos métodos MongoDB\Driver\Monitoring\TopologyChangedEvent.
MongoDB\Driver\TopologyDescription::TYPE_UNKNOWNMongoDB\Driver\TopologyDescription::TYPE_SINGLEMongoDB\Driver\TopologyDescription::TYPE_SHARDEDMongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_NO_PRIMARYMongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_WITH_PRIMARYMongoDB\Driver\TopologyDescription::TYPE_LOAD_BALANCED