« MongoDB\Driver\TopologyDescription::getServers
MongoDB\Driver\TopologyDescription::hasReadableServer »

MongoDB\Driver\TopologyDescription::getType

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::getType — Returns a string denoting the type of this topology

説明

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

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

パラメータ

この関数にはパラメータはありません。

戻り値

Returns a string denoting the type of this topology.

エラー / 例外

関連キーワード:
MongoDB   Driver   TopologyDescription   denoting   type   topology   getType   getServers   hasReadableServer   mongodb   final   correlate   constant   Throws   Exception   InvalidArgumentException   argument   parsing   errors
関連する関数・ページ:
class.mongodb-driver-topologydescription   mongodb-driver-topologydescription.getservers   mongodb-driver-serverdescription.gettype   mongodb-driver-topologydescription.haswritableserver   mongodb-driver-topologydescription.hasreadableserver   mongodb-driver-server.gettype