(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::getServers — Returns the servers in the topology
Returns an array of MongoDB\Driver\ServerDescription objects corresponding to the known servers in the topology.
This function has no parameters.
Returns an array of MongoDB\Driver\ServerDescription objects corresponding to the known servers in the topology.