MongoDB\Driver\TopologyDescription::getType
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns a string denoting the type of this topology
Description
MongoDB\Driver\TopologyDescription::getType(): string
Returns a string denoting the type of this topology. The value will correlate with a MongoDB\Driver\TopologyDescription constant.
Parameters Parameters
Return Values
Returns a string denoting the type of this topology.