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