MongoDB\Driver\ServerDescription::getType
PHP Manual
PHP Manual»MongoDB\Driver\ServerDescription»MongoDB\Driver\ServerDescription::getType

MongoDB\Driver\ServerDescription::getType

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getTypeReturns a string denoting the type of this server

Опис

final public function MongoDB\Driver\ServerDescription::getType(): string

Returns a string denoting the type of this server. The value will correlate with a MongoDB\Driver\ServerDescription constant.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns a string denoting the type of this server.

Помилки/виключення

Прогляньте також

To Top