MongoDB\Driver\TopologyDescription::getType

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::getTypeReturns a string denoting the type of this topology

Descripción

finalpublicMongoDB\Driver\TopologyDescription::getType(): string

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns a string denoting the type of this topology.

Errores/Excepciones

To Top