MongoDB\Driver\Server::getType
Returns an integer denoting the type of this server
説明
final public int MongoDB\Driver\Server::getType()
戻り値
Returns an int denoting the type of this server.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参考
- MongoDB\Driver\Server::getInfo
- MongoDB\Driver\ServerDescription::getType