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

Descrizione

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.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns a string denoting the type of this server.

Errori/Eccezioni

Vedere anche:

To Top