MongoDB\Driver\Server::getTags
PHP function
Edit on GitHub ✎
(mongodb >=1.0.0)
Returns an array of tags describing this server in a replica set
Description
MongoDB\Driver\Server::getTags(): array
Returns an array of tags used to describe this server in a replica set. The array will contain zero or more string key and value pairs.
Parameters Parameters
Return Values
Returns an array of tags used to describe this server in a replica set.