MongoDB\Driver\Server::getTags

Returns an array of tags describing this server in a replica set

Beschreibung

final public array MongoDB\Driver\Server::getTags ( void )

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.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns an array of tags used to describe this server in a replica set.

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.

Siehe auch

  • MongoDB\Driver\Server::getInfo