PHP 8.5.0 Alpha 2 available for testing

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 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

  • Lanza una excepción MongoDB\Driver\InvalidArgumentException en caso de error durante el análisis de un argumento.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top