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::getTypeDevuelve un string que indica el tipo de este servidor

Descripción

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

Devuelve un string que indica el tipo de este servidor. El valor estará correlacionado con una constante MongoDB\Driver\ServerDescription.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Devuelve un string que indica el tipo de este servidor.

Errores/Excepciones

Véase también

To Top